OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-i386/] [i386.exp] - Diff between revs 66 and 157

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 66 Rev 157
Line 116... Line 116...
# objdump: Apply objdump options on result.  Compare with regex (last arg).
# objdump: Apply objdump options on result.  Compare with regex (last arg).
# nm: Apply nm options on result.  Compare with regex (last arg).
# nm: Apply nm options on result.  Compare with regex (last arg).
# readelf: Apply readelf options on result.  Compare with regex (last arg).
# readelf: Apply readelf options on result.  Compare with regex (last arg).
 
 
set i386tests {
set i386tests {
    {"TLS -fpic -shared transitions" "-shared -melf_i386"
    {"TLS -fpic -shared transitions"
 
     "-shared -melf_i386 --no-ld-generated-unwind-info"
     "--32" {tlspic1.s tlspic2.s}
     "--32" {tlspic1.s tlspic2.s}
     {{readelf -Ssrl tlspic.rd} {objdump -drj.text tlspic.dd}
     {{readelf -Ssrl tlspic.rd} {objdump -drj.text tlspic.dd}
      {objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
      {objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
      "libtlspic.so"}
      "libtlspic.so"}
    {"TLS descriptor -fpic -shared transitions" "-shared -melf_i386"
    {"TLS descriptor -fpic -shared transitions"
 
     "-shared -melf_i386 --no-ld-generated-unwind-info"
     "--32" {tlsdesc.s tlspic2.s}
     "--32" {tlsdesc.s tlspic2.s}
     {{readelf -Ssrl tlsdesc.rd} {objdump -drj.text tlsdesc.dd}
     {{readelf -Ssrl tlsdesc.rd} {objdump -drj.text tlsdesc.dd}
      {objdump "-s -j.got -j.got.plt" tlsdesc.sd} {objdump -sj.tdata tlsdesc.td}}
      {objdump "-s -j.got -j.got.plt" tlsdesc.sd} {objdump -sj.tdata tlsdesc.td}}
      "libtlsdesc.so"}
      "libtlsdesc.so"}
    {"Helper shared library" "-shared -melf_i386"
    {"Helper shared library" "-shared -melf_i386"
     "--32" {tlslib.s} {} "libtlslib.so"}
     "--32" {tlslib.s} {} "libtlslib.so"}
    {"TLS -fpic and -fno-pic exec transitions"
    {"TLS -fpic and -fno-pic exec transitions"
     "-melf_i386 tmpdir/libtlslib.so" "--32" {tlsbinpic.s tlsbin.s}
     "-melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info"
 
     "--32" {tlsbinpic.s tlsbin.s}
     {{readelf -Ssrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
     {{readelf -Ssrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
      {objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
      {objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
      "tlsbin"}
      "tlsbin"}
    {"TLS descriptor -fpic and -fno-pic exec transitions"
    {"TLS descriptor -fpic and -fno-pic exec transitions"
     "-melf_i386 tmpdir/libtlslib.so" "--32" {tlsbindesc.s tlsbin.s}
     "-melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info"
 
     "--32" {tlsbindesc.s tlsbin.s}
     {{readelf -Ssrl tlsbindesc.rd} {objdump -drj.text tlsbindesc.dd}
     {{readelf -Ssrl tlsbindesc.rd} {objdump -drj.text tlsbindesc.dd}
      {objdump -sj.got tlsbindesc.sd} {objdump -sj.tdata tlsbindesc.td}}
      {objdump -sj.got tlsbindesc.sd} {objdump -sj.tdata tlsbindesc.td}}
      "tlsbindesc"}
      "tlsbindesc"}
    {"TLS -fno-pic -shared" "-shared -melf_i386"
    {"TLS -fno-pic -shared" "-shared -melf_i386 --no-ld-generated-unwind-info"
     "--32" {tlsnopic1.s tlsnopic2.s}
     "--32" {tlsnopic1.s tlsnopic2.s}
     {{readelf -Ssrl tlsnopic.rd} {objdump -drj.text tlsnopic.dd}
     {{readelf -Ssrl tlsnopic.rd} {objdump -drj.text tlsnopic.dd}
      {objdump -sj.got tlsnopic.sd}} "libtlsnopic.so"}
      {objdump -sj.got tlsnopic.sd}} "libtlsnopic.so"}
    {"TLS with global dynamic and descriptors"
    {"TLS with global dynamic and descriptors"
        "-shared -melf_i386" "--32" {tlsgdesc.s}
     "-shared -melf_i386 --no-ld-generated-unwind-info"
 
     "--32" {tlsgdesc.s}
     {{readelf -Ssrl tlsgdesc.rd} {objdump -drj.text tlsgdesc.dd}}
     {{readelf -Ssrl tlsgdesc.rd} {objdump -drj.text tlsgdesc.dd}}
      "libtlsgdesc.so"}
      "libtlsgdesc.so"}
    {"TLS in debug sections" "-melf_i386"
    {"TLS in debug sections" "-melf_i386"
     "--32" {tlsg.s}
     "--32" {tlsg.s}
     {{objdump -sj.debug_foobar tlsg.sd}} "tlsg"}
     {{objdump -sj.debug_foobar tlsg.sd}} "tlsg"}
Line 193... Line 198...
run_dump_test "tlspie2"
run_dump_test "tlspie2"
run_dump_test "nogot1"
run_dump_test "nogot1"
run_dump_test "nogot2"
run_dump_test "nogot2"
run_dump_test "discarded1"
run_dump_test "discarded1"
run_dump_test "pr12718"
run_dump_test "pr12718"
 
run_dump_test "pr12921"
 
 
if { !([istarget "i?86-*-linux*"]
if { !([istarget "i?86-*-linux*"]
       || [istarget "i?86-*-gnu*"]
       || [istarget "i?86-*-gnu*"]
       || [istarget "x86_64-*-linux*"]) } {
       || [istarget "x86_64-*-linux*"]) } {
    return
    return

powered by: WebSVN 2.1.0

© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.