diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-06-30 08:47:02 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-06-30 08:56:14 -0700 |
commit | bbd19b19e44ee6f547291db62cba7150bb407a4c (patch) | |
tree | 5555d85949224754cd54693792aa2de599992727 /ld/testsuite/ld-i386 | |
parent | a1520ad8fc5c5c1932d69e4685836cc1375bd850 (diff) | |
download | gdb-bbd19b19e44ee6f547291db62cba7150bb407a4c.zip gdb-bbd19b19e44ee6f547291db62cba7150bb407a4c.tar.gz gdb-bbd19b19e44ee6f547291db62cba7150bb407a4c.tar.bz2 |
Remove x86 NaCl target support
NaCl has been deprecated:
https://developer.chrome.com/native-client/migration
and NaCl will completely disappear in 2021:
https://lists.llvm.org/pipermail/llvm-dev/2020-April/141107.html
Remove x86 NaCl target support from bfd, binutils, gas and ld.
bfd/
* archures.c (bfd_mach_i386_nacl): Removed.
(bfd_mach_i386_i386_nacl): Likewise.
(bfd_mach_x86_64_nacl): Likewise.
(bfd_mach_x64_32_nacl): Likewise.
* config.bfd: Remove *-*-nacl* targets.
* configure.ac: Remove x86 NaCl target vectors.
* cpu-i386.c (bfd_arch_i386_onebyte_nop_fill): Removed.
(bfd_x64_32_nacl_arch): Likewise.
(bfd_x86_64_nacl_arch): Likewise.
(bfd_i386_nacl_arch): Likewise.
(bfd_x64_32_arch_intel_syntax): Updated.
* elf32-i386.c: Don't include "elf-nacl.h".
(elf_i386_nacl_plt): Removed.
(elf_i386_nacl_plt0_entry): Likewise.
(elf_i386_nacl_plt_entry): Likewise.
(elf_i386_nacl_pic_plt0_entry): Likewise.
(elf_i386_nacl_pic_plt_entry): Likewise.
(elf_i386_nacl_eh_frame_plt): Likewise.
(elf_i386_nacl_plt): Likewise.
(elf32_i386_nacl_elf_object_p): Likewise.
(elf_i386_get_synthetic_symtab): Updated.
(elf_i386_link_setup_gnu_properties): Likewise.
* elf64-x86-64.c: Don't include "elf-nacl.h".
(elf_x86_64_nacl_plt): Removed.
(elf64_x86_64_nacl_elf_object_p): Likewise.
(elf_x86_64_nacl_plt0_entry): Likewise.
(elf_x86_64_nacl_plt_entry): Likewise.
(elf_x86_64_nacl_eh_frame_plt): Likewise.
(elf_x86_64_nacl_plt): Likewise.
(elf32_x86_64_nacl_elf_object_p): Likewise.
(elf_x86_64_get_synthetic_symtab): Updated.
(elf_x86_64_link_setup_gnu_properties): Likewise.
* elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
* targets.c: Remove x86 NaCl target vectors.
* bfd-in2.h: Regenerated.
* configure: Likewise.
binutils/
* NEWS: Mention x86 NaCl target support removal.
* dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
x86 NaCl target support.
* testsuite/binutils-all/elfedit-1.d: Likewise.
* testsuite/binutils-all/i386/i386.exp: Likewise.
* testsuite/binutils-all/x86-64/objects.exp: Likewise.
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
* testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
gas/
* NEWS: Mention x86 NaCl target support removal.
* config/tc-i386.c: Remove x86 NaCl target support.
* config/tc-i386.h: Likewise.
* configure.tgt: Likewise.
* testsuite/gas/i386/i386.exp: Likewise.
* testsuite/gas/i386/iamcu-1.d: Likewise.
* testsuite/gas/i386/iamcu-2.d: Likewise.
* testsuite/gas/i386/iamcu-3.d: Likewise.
* testsuite/gas/i386/iamcu-4.d: Likewise.
* testsuite/gas/i386/iamcu-5.d: Likewise.
* testsuite/gas/i386/k1om.d: Likewise.
* testsuite/gas/i386/l1om.d: Likewise.
ld/
* Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_nacl.c,
eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c.
Remove x86 NaCl dep files.
* NEWS: Mention x86 NaCl target support removal.
* configure.tgt: Remove x86 NaCl target support.
* testsuite/ld-elf/binutils.exp: Likewise.
* testsuite/ld-elf/elf.exp: Likewise.
* testsuite/ld-elfvers/vers.exp: Likewise.
* testsuite/ld-i386/align-branch-1.d: Likewise.
* testsuite/ld-i386/export-class.exp: Likewise.
* testsuite/ld-i386/i386.exp: Likewise.
* testsuite/ld-i386/load1.d: Likewise.
* testsuite/ld-i386/pie1.d: Likewise.
* testsuite/ld-i386/pr12570a.d: Likewise.
* testsuite/ld-i386/pr12570b.d: Likewise.
* testsuite/ld-i386/pr19636-1d.d: Likewise.
* testsuite/ld-i386/pr19636-1l.d: Likewise.
* testsuite/ld-i386/pr19636-2c.d: Likewise.
* testsuite/ld-i386/pr19636-2d.d: Likewise.
* testsuite/ld-i386/pr19636-2e.d: Likewise.
* testsuite/ld-i386/pr20244-1a.d: Likewise.
* testsuite/ld-i386/pr20244-1b.d: Likewise.
* testsuite/ld-i386/pr20244-2a.d: Likewise.
* testsuite/ld-i386/pr20244-2b.d: Likewise.
* testsuite/ld-i386/pr20244-2c.d: Likewise.
* testsuite/ld-i386/pr20244-4a.d: Likewise.
* testsuite/ld-i386/pr20244-4b.d: Likewise.
* testsuite/ld-i386/pr21884.d: Likewise.
* testsuite/ld-ifunc/binutils.exp: Likewise.
* testsuite/ld-ifunc/ifunc-10-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-11-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-12-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-16-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-20-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-8-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-9-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
* testsuite/ld-ifunc/pr17154-i386.d: Likewise.
* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
* testsuite/ld-plugin/lto.exp: Likewise.
* testsuite/ld-x86-64/align-branch-1.d: Likewise.
* testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
* testsuite/ld-x86-64/line.exp: Likewise.
* testsuite/ld-x86-64/load1a.d: Likewise.
* testsuite/ld-x86-64/load1b.d: Likewise.
* testsuite/ld-x86-64/load1c.d: Likewise.
* testsuite/ld-x86-64/load1d.d: Likewise.
* testsuite/ld-x86-64/pie3.d: Likewise.
* testsuite/ld-x86-64/pr18160.d: Likewise.
* testsuite/ld-x86-64/pr19013-x32.d: Likewise.
* testsuite/ld-x86-64/pr19013.d: Likewise.
* testsuite/ld-x86-64/pr19636-2d.d: Likewise.
* testsuite/ld-x86-64/pr19636-2l.d: Likewise.
* testsuite/ld-x86-64/pr20253-1b.d: Likewise.
* testsuite/ld-x86-64/pr20253-1d.d: Likewise.
* testsuite/ld-x86-64/pr20253-1f.d: Likewise.
* testsuite/ld-x86-64/pr20253-1h.d: Likewise.
* testsuite/ld-x86-64/pr20253-1j.d: Likewise.
* testsuite/ld-x86-64/pr20253-1l.d: Likewise.
* testsuite/ld-x86-64/pr21884.d: Likewise.
* testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
* testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
* testsuite/ld-x86-64/tlsgd10.dd: Likewise.
* testsuite/ld-x86-64/tlsgd5.dd: Likewise.
* testsuite/ld-x86-64/tlsgd8.dd: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* emulparams/elf32_x86_64_nacl.sh: Removed.
* emulparams/elf_i386_nacl.sh: Likewise.
* emulparams/elf_x86_64_nacl.sh: Likewise.
* testsuite/ld-i386/emit-relocs-nacl.rd: Likewise.
* testsuite/ld-i386/load1-nacl.d: Likewise.
* testsuite/ld-i386/pie1-nacl.d: Likewise.
* testsuite/ld-i386/plt-nacl.pd: Likewise.
* testsuite/ld-i386/plt-pic-nacl.pd: Likewise.
* testsuite/ld-i386/pr17709-nacl.rd: Likewise.
* testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
* testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
* testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
* testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
* testsuite/ld-i386/pr19827-nacl.rd: Likewise.
* testsuite/ld-i386/pr21884-nacl.d: Likewise.
* testsuite/ld-i386/pr21884-nacl.t: Likewise.
* testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
* testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
* testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
* testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
* testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
* testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
* testsuite/ld-i386/tlspic-nacl.rd: Likewise.
* testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
* testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
* testsuite/ld-x86-64/load1a-nacl.d: Likewise.
* testsuite/ld-x86-64/load1b-nacl.d: Likewise.
* testsuite/ld-x86-64/load1c-nacl.d: Likewise.
* testsuite/ld-x86-64/load1d-nacl.d: Likewise.
* testsuite/ld-x86-64/pie3-nacl.d: Likewise.
* testsuite/ld-x86-64/plt-nacl.pd: Likewise.
* testsuite/ld-x86-64/pr17709-nacl.rd: Likewise.
* testsuite/ld-x86-64/pr19013-nacl.d: Likewise.
* testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
* testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
* testsuite/ld-x86-64/pr21884-nacl.d: Likewise.
* testsuite/ld-x86-64/pr21884-nacl.t: Likewise.
* testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlsdesc-nacl.pd: Likewise.
* testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
* testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
* Makefile.in: Regenerated.
* po/BLD-POTFILES.in: Likewise.
Diffstat (limited to 'ld/testsuite/ld-i386')
41 files changed, 0 insertions, 1900 deletions
diff --git a/ld/testsuite/ld-i386/align-branch-1.d b/ld/testsuite/ld-i386/align-branch-1.d index b1347e5..8c62ee4 100644 --- a/ld/testsuite/ld-i386/align-branch-1.d +++ b/ld/testsuite/ld-i386/align-branch-1.d @@ -1,7 +1,6 @@ #as: --32 -mbranches-within-32B-boundaries #ld: -melf_i386 #objdump: -dw -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/emit-relocs-nacl.rd b/ld/testsuite/ld-i386/emit-relocs-nacl.rd deleted file mode 100644 index 520a57e..0000000 --- a/ld/testsuite/ld-i386/emit-relocs-nacl.rd +++ /dev/null @@ -1,8 +0,0 @@ - -Relocation section '\.rel\.text' at offset .* contains 1 entry: - Offset Info Type Sym\.Value Sym\. Name -.* .*04 R_386_PLT32 00000000 foo - -Relocation section '\.rel\.plt' at offset .* contains 1 entry: - Offset Info Type Sym\.Value Sym\. Name -.* .*07 R_386_JUMP_SLOT 00000000 foo diff --git a/ld/testsuite/ld-i386/export-class.exp b/ld/testsuite/ld-i386/export-class.exp index e0afb7a..e58fdc4 100644 --- a/ld/testsuite/ld-i386/export-class.exp +++ b/ld/testsuite/ld-i386/export-class.exp @@ -32,7 +32,6 @@ if { ![is_elf_format] } { # Exclude some more targets; feel free to include your favorite one # if you like. if { !([istarget i?86-*-linux*] - || [istarget i?86-*-nacl*] || [istarget i?86-*-gnu*]) } { return } diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp index d71b978..27ad169 100644 --- a/ld/testsuite/ld-i386/i386.exp +++ b/ld/testsuite/ld-i386/i386.exp @@ -107,9 +107,7 @@ if [istarget "*-*-go32*"] { if { !([istarget "i?86-*-elf*"] || [istarget "i?86-*-linux*"] || [istarget "i?86-*-gnu*"] - || [istarget "i?86-*-nacl*"] || [istarget "x86_64-*-elf*"] - || [istarget "x86_64-*-nacl*"] || [istarget "x86_64-*-linux*"] || [istarget "amd64-*-linux*"]) } { return @@ -249,29 +247,7 @@ set i386tests { { pr19827a.S } {{readelf {-rW} pr19827.rd}} "pr19827.so"} } -# So as to avoid rewriting every last test case here in a nacl variant, -# we use black magic to massage the generic cases into nacl-variant cases. -if [istarget "*-*-nacl*"] { - # Change all the -melf_i386 to -melf_i386_nacl so linking can succeed. - regsub -all elf_i386 $i386tests elf_i386_nacl i386tests - - # Same, applied to all the run_dump_test cases. - set options_regsub(ld) {elf_i386 elf_i386_nacl} - - # The section/segment layout differs too much for the vanilla - # readelf output files to match. So massage the cases so that - # they refer to a foo-nacl.rd file instead of a foo.rd file. - regsub -all {([a-z0-9]+)\.rd} $i386tests {\1-nacl.rd} i386tests - - # Likewise for PLTs. - regsub -all -- {([a-z0-9]+)\.pd} $i386tests {\1-nacl.pd} i386tests -} - proc iamcu_tests {} { - if {[istarget "*-*-nacl*"]} then { - return - } - global as global srcdir global subdir @@ -367,7 +343,6 @@ run_dump_test "call3h" run_dump_test "jmp1" run_dump_test "jmp2" run_dump_test "load1" -run_dump_test "load1-nacl" run_dump_test "load2" run_dump_test "load3" run_dump_test "load4a" @@ -382,7 +357,6 @@ run_dump_test "pr19636-1a" run_dump_test "pr19636-1b" run_dump_test "pr19636-1c" run_dump_test "pr19636-1d" -run_dump_test "pr19636-1d-nacl" run_dump_test "pr19636-1e" run_dump_test "pr19636-1f" run_dump_test "pr19636-1g" @@ -394,11 +368,8 @@ run_dump_test "pr19636-1l" run_dump_test "pr19636-2a" run_dump_test "pr19636-2b" run_dump_test "pr19636-2c" -run_dump_test "pr19636-2c-nacl" run_dump_test "pr19636-2d" -run_dump_test "pr19636-2d-nacl" run_dump_test "pr19636-2e" -run_dump_test "pr19636-2e-nacl" run_dump_test "pr19636-3a" run_dump_test "pr19636-3b" run_dump_test "pr19636-3c" @@ -474,9 +445,7 @@ run_dump_test "property-x86-cet5a" run_dump_test "property-x86-cet5b" run_dump_test "property-x86-cet6" run_dump_test "pie1" -run_dump_test "pie1-nacl" run_dump_test "pr21884" -run_dump_test "pr21884-nacl" run_dump_test "pr22115-1a" run_dump_test "pr22115-1b" run_dump_test "pr22115-1c" @@ -503,8 +472,6 @@ run_dump_test "pr26018" if { !([istarget "i?86-*-linux*"] || [istarget "i?86-*-gnu*"] - || [istarget "i?86-*-nacl*"] - || [istarget "x86_64-*-nacl*"] || [istarget "x86_64-*-linux*"]) } { set ASFLAGS "$saved_ASFLAGS" return diff --git a/ld/testsuite/ld-i386/load1-nacl.d b/ld/testsuite/ld-i386/load1-nacl.d deleted file mode 100644 index 317d1c4..0000000 --- a/ld/testsuite/ld-i386/load1-nacl.d +++ /dev/null @@ -1,59 +0,0 @@ -#source: load1.s -#as: --32 -#ld: -melf_i386 -#objdump: -dw --sym -#target: i?86-*-nacl* x86_64-*-nacl* - -.*: +file format .* - -SYMBOL TABLE: -#... -10030074 l O .data 0+1 bar -#... -10030075 g O .data 0+1 foo -#... - -Disassembly of section .text: - -0+20000 <_start>: -[ ]*[a-f0-9]+: c7 c0 74 00 03 10 mov \$0x10030074,%eax -[ ]*[a-f0-9]+: 81 d0 74 00 03 10 adc \$0x10030074,%eax -[ ]*[a-f0-9]+: 81 c3 74 00 03 10 add \$0x10030074,%ebx -[ ]*[a-f0-9]+: 81 e1 74 00 03 10 and \$0x10030074,%ecx -[ ]*[a-f0-9]+: 81 fa 74 00 03 10 cmp \$0x10030074,%edx -[ ]*[a-f0-9]+: 81 cf 74 00 03 10 or \$0x10030074,%edi -[ ]*[a-f0-9]+: 81 de 74 00 03 10 sbb \$0x10030074,%esi -[ ]*[a-f0-9]+: 81 ed 74 00 03 10 sub \$0x10030074,%ebp -[ ]*[a-f0-9]+: 81 f4 74 00 03 10 xor \$0x10030074,%esp -[ ]*[a-f0-9]+: f7 c1 74 00 03 10 test \$0x10030074,%ecx -[ ]*[a-f0-9]+: c7 c0 74 00 03 10 mov \$0x10030074,%eax -[ ]*[a-f0-9]+: 81 d0 74 00 03 10 adc \$0x10030074,%eax -[ ]*[a-f0-9]+: 81 c3 74 00 03 10 add \$0x10030074,%ebx -[ ]*[a-f0-9]+: 81 e1 74 00 03 10 and \$0x10030074,%ecx -[ ]*[a-f0-9]+: 81 fa 74 00 03 10 cmp \$0x10030074,%edx -[ ]*[a-f0-9]+: 81 cf 74 00 03 10 or \$0x10030074,%edi -[ ]*[a-f0-9]+: 81 de 74 00 03 10 sbb \$0x10030074,%esi -[ ]*[a-f0-9]+: 81 ed 74 00 03 10 sub \$0x10030074,%ebp -[ ]*[a-f0-9]+: 81 f4 74 00 03 10 xor \$0x10030074,%esp -[ ]*[a-f0-9]+: f7 c1 74 00 03 10 test \$0x10030074,%ecx -[ ]*[a-f0-9]+: c7 c0 75 00 03 10 mov \$0x10030075,%eax -[ ]*[a-f0-9]+: 81 d0 75 00 03 10 adc \$0x10030075,%eax -[ ]*[a-f0-9]+: 81 c3 75 00 03 10 add \$0x10030075,%ebx -[ ]*[a-f0-9]+: 81 e1 75 00 03 10 and \$0x10030075,%ecx -[ ]*[a-f0-9]+: 81 fa 75 00 03 10 cmp \$0x10030075,%edx -[ ]*[a-f0-9]+: 81 cf 75 00 03 10 or \$0x10030075,%edi -[ ]*[a-f0-9]+: 81 de 75 00 03 10 sbb \$0x10030075,%esi -[ ]*[a-f0-9]+: 81 ed 75 00 03 10 sub \$0x10030075,%ebp -[ ]*[a-f0-9]+: 81 f4 75 00 03 10 xor \$0x10030075,%esp -[ ]*[a-f0-9]+: f7 c1 75 00 03 10 test \$0x10030075,%ecx -[ ]*[a-f0-9]+: c7 c0 75 00 03 10 mov \$0x10030075,%eax -[ ]*[a-f0-9]+: 81 d0 75 00 03 10 adc \$0x10030075,%eax -[ ]*[a-f0-9]+: 81 c3 75 00 03 10 add \$0x10030075,%ebx -[ ]*[a-f0-9]+: 81 e1 75 00 03 10 and \$0x10030075,%ecx -[ ]*[a-f0-9]+: 81 fa 75 00 03 10 cmp \$0x10030075,%edx -[ ]*[a-f0-9]+: 81 cf 75 00 03 10 or \$0x10030075,%edi -[ ]*[a-f0-9]+: 81 de 75 00 03 10 sbb \$0x10030075,%esi -[ ]*[a-f0-9]+: 81 ed 75 00 03 10 sub \$0x10030075,%ebp -[ ]*[a-f0-9]+: 81 f4 75 00 03 10 xor \$0x10030075,%esp -[ ]*[a-f0-9]+: f7 c1 75 00 03 10 test \$0x10030075,%ecx -#pass diff --git a/ld/testsuite/ld-i386/load1.d b/ld/testsuite/ld-i386/load1.d index 8e8db9f..fb01cf8 100644 --- a/ld/testsuite/ld-i386/load1.d +++ b/ld/testsuite/ld-i386/load1.d @@ -1,7 +1,6 @@ #as: --32 -mrelax-relocations=yes #ld: -melf_i386 -z noseparate-code #objdump: -dw --sym -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pie1-nacl.d b/ld/testsuite/ld-i386/pie1-nacl.d deleted file mode 100644 index aafd6a7..0000000 --- a/ld/testsuite/ld-i386/pie1-nacl.d +++ /dev/null @@ -1,18 +0,0 @@ -#source: pie1.s -#as: --32 -#ld: -pie -melf_i386 -z relro -#objdump: -dw --sym -#target: i?86-*-nacl* x86_64-*-nacl* - -.*: +file format .* - -SYMBOL TABLE: -#... -10020000 l O .got.plt 0+ _GLOBAL_OFFSET_TABLE_ -#... - -Disassembly of section .text: - -0+ <_start>: - +0: 8d 80 00 00 fe ef lea -0x10020000\(%eax\),%eax -#pass diff --git a/ld/testsuite/ld-i386/pie1.d b/ld/testsuite/ld-i386/pie1.d index e7beaa2..338d057 100644 --- a/ld/testsuite/ld-i386/pie1.d +++ b/ld/testsuite/ld-i386/pie1.d @@ -1,7 +1,6 @@ #as: --32 #ld: -pie -melf_i386 -z relro -z noseparate-code #objdump: -dw --sym -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/plt-nacl.pd b/ld/testsuite/ld-i386/plt-nacl.pd deleted file mode 100644 index d95e888e..0000000 --- a/ld/testsuite/ld-i386/plt-nacl.pd +++ /dev/null @@ -1,162 +0,0 @@ -#source: plt.s -#as: --32 -#ld: -melf_i386_nacl -#objdump: -drj.plt -#target: i?86-*-nacl* - -.*: +file format .* - -Disassembly of section .plt: - -[0-9a-f]+ <.plt>: - +[0-9a-f]+: ff 35 ([0-9a-f]{2} ){4} * pushl 0x[0-9a-f]+ - +[0-9a-f]+: 8b 0d ([0-9a-f]{2} ){4} * mov 0x[0-9a-f]+,%ecx - +[0-9a-f]+: 83 e1 e0 and \$0xffffffe0,%ecx - +[0-9a-f]+: ff e1 jmp \*%ecx - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - -[0-9a-f]+ <fn1@plt>: - +[0-9a-f]+: 8b 0d ([0-9a-f]{2} ){4} * mov 0x[0-9a-f]+,%ecx - +[0-9a-f]+: 83 e1 e0 and \$0xffffffe0,%ecx - +[0-9a-f]+: ff e1 jmp \*%ecx - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 68 00 00 00 00 push \$0x0 - +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt> - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - -[0-9a-f]+ <fn2@plt>: - +[0-9a-f]+: 8b 0d ([0-9a-f]{2} ){4} * mov 0x[0-9a-f]+,%ecx - +[0-9a-f]+: 83 e1 e0 and \$0xffffffe0,%ecx - +[0-9a-f]+: ff e1 jmp \*%ecx - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 68 08 00 00 00 push \$0x8 - +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt> - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop diff --git a/ld/testsuite/ld-i386/plt-pic-nacl.pd b/ld/testsuite/ld-i386/plt-pic-nacl.pd deleted file mode 100644 index 03aa007..0000000 --- a/ld/testsuite/ld-i386/plt-pic-nacl.pd +++ /dev/null @@ -1,168 +0,0 @@ -#source: plt.s -#as: --32 -#ld: -shared -melf_i386_nacl -#objdump: -drj.plt -#target: i?86-*-nacl* - -.*: +file format .* - -Disassembly of section .plt: - -[0-9a-f]+ <.plt>: - +[0-9a-f]+: ff 73 04 pushl 0x4\(%ebx\) - +[0-9a-f]+: 8b 4b 08 mov 0x8\(%ebx\),%ecx - +[0-9a-f]+: 83 e1 e0 and \$0xffffffe0,%ecx - +[0-9a-f]+: ff e1 jmp \*%ecx - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - -[0-9a-f]+ <fn1@plt>: - +[0-9a-f]+: 8b 8b 0c 00 00 00 mov 0xc\(%ebx\),%ecx - +[0-9a-f]+: 83 e1 e0 and \$0xffffffe0,%ecx - +[0-9a-f]+: ff e1 jmp \*%ecx - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 68 00 00 00 00 push \$0x0 - +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt> - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - -[0-9a-f]+ <fn2@plt>: - +[0-9a-f]+: 8b 8b 10 00 00 00 mov 0x10\(%ebx\),%ecx - +[0-9a-f]+: 83 e1 e0 and \$0xffffffe0,%ecx - +[0-9a-f]+: ff e1 jmp \*%ecx - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 68 08 00 00 00 push \$0x8 - +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt> - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop - +[0-9a-f]+: 90 nop diff --git a/ld/testsuite/ld-i386/pr12570a.d b/ld/testsuite/ld-i386/pr12570a.d index d5a466e..03aeb7b 100644 --- a/ld/testsuite/ld-i386/pr12570a.d +++ b/ld/testsuite/ld-i386/pr12570a.d @@ -2,7 +2,6 @@ #as: --32 #ld: -melf_i386 -shared #readelf: -wf --wide -#notarget: i?86-*-nacl* x86_64-*-nacl* #... DW_CFA_def_cfa_expression \(DW_OP_breg4 \(esp\): 4; DW_OP_breg8 \(eip\): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit11; DW_OP_ge; DW_OP_lit2; DW_OP_shl; DW_OP_plus\) diff --git a/ld/testsuite/ld-i386/pr12570b.d b/ld/testsuite/ld-i386/pr12570b.d index b295801..0532aac 100644 --- a/ld/testsuite/ld-i386/pr12570b.d +++ b/ld/testsuite/ld-i386/pr12570b.d @@ -2,7 +2,6 @@ #as: --32 #ld: -melf_i386 -shared #readelf: -wf --wide -#notarget: i?86-*-nacl* x86_64-*-nacl* #failif #... diff --git a/ld/testsuite/ld-i386/pr17709-nacl.rd b/ld/testsuite/ld-i386/pr17709-nacl.rd deleted file mode 100644 index 8414784..0000000 --- a/ld/testsuite/ld-i386/pr17709-nacl.rd +++ /dev/null @@ -1,4 +0,0 @@ - -Relocation section '.rel\..*' at offset .* contains 1 entry: - Offset Info Type Sym\.Value Sym\. Name -[0-9a-f ]+R_386_COPY +[0-9a-f]+ +foo diff --git a/ld/testsuite/ld-i386/pr19636-1d-nacl.d b/ld/testsuite/ld-i386/pr19636-1d-nacl.d deleted file mode 100644 index 27797d6..0000000 --- a/ld/testsuite/ld-i386/pr19636-1d-nacl.d +++ /dev/null @@ -1,124 +0,0 @@ -#source: pr19636-1.s -#as: --32 -mrelax-relocations=no -#ld: -pie -m elf_i386 --no-dynamic-linker -#objdump: -dw -#target: i?86-*-nacl* x86_64-*-nacl* - -.*: +file format .* - - -Disassembly of section .plt: - -0+ <.plt>: -[ ]*[a-f0-9]+: ff 73 04 pushl 0x4\(%ebx\) -[ ]*[a-f0-9]+: 8b 4b 08 mov 0x8\(%ebx\),%ecx -[ ]*[a-f0-9]+: 83 e1 e0 and \$0xffffffe0,%ecx -[ ]*[a-f0-9]+: ff e1 jmp \*%ecx -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8b 8b 0c 00 00 00 mov 0xc\(%ebx\),%ecx -[ ]*[a-f0-9]+: 83 e1 e0 and \$0xffffffe0,%ecx -[ ]*[a-f0-9]+: ff e1 jmp \*%ecx -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0 -[ ]*[a-f0-9]+: e9 00 00 00 00 jmp 6a <\.plt\+0x6a> -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop - -Disassembly of section .text: - -0+80 <_start>: -[ ]*[a-f0-9]+: 3b 80 f8 ff ff ff cmp -0x8\(%eax\),%eax -[ ]*[a-f0-9]+: ff a0 fc ff ff ff jmp \*-0x4\(%eax\) -[ ]*[a-f0-9]+: e8 af ff ff ff call 40 <.*> diff --git a/ld/testsuite/ld-i386/pr19636-1d.d b/ld/testsuite/ld-i386/pr19636-1d.d index e667cae..b034e30 100644 --- a/ld/testsuite/ld-i386/pr19636-1d.d +++ b/ld/testsuite/ld-i386/pr19636-1d.d @@ -2,7 +2,6 @@ #as: --32 -mrelax-relocations=no #ld: -pie -m elf_i386 --no-dynamic-linker #objdump: -dw -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr19636-1l.d b/ld/testsuite/ld-i386/pr19636-1l.d index 6198c0f..4567c53 100644 --- a/ld/testsuite/ld-i386/pr19636-1l.d +++ b/ld/testsuite/ld-i386/pr19636-1l.d @@ -3,7 +3,6 @@ #ld: -pie -m elf_i386 --no-dynamic-linker -z dynamic-undefined-weak #objdump: -dw #warning: -z dynamic-undefined-weak ignored -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr19636-2c-nacl.d b/ld/testsuite/ld-i386/pr19636-2c-nacl.d deleted file mode 100644 index de52ec5..0000000 --- a/ld/testsuite/ld-i386/pr19636-2c-nacl.d +++ /dev/null @@ -1,126 +0,0 @@ -#source: pr19636-2.s -#as: --32 -mrelax-relocations=no -#ld: -pie -m elf_i386 -#objdump: -dw -#target: i?86-*-nacl* x86_64-*-nacl* - -.*: +file format .* - - -Disassembly of section .plt: - -0+ <.plt>: -[ ]*[a-f0-9]+: ff 73 04 pushl 0x4\(%ebx\) -[ ]*[a-f0-9]+: 8b 4b 08 mov 0x8\(%ebx\),%ecx -[ ]*[a-f0-9]+: 83 e1 e0 and \$0xffffffe0,%ecx -[ ]*[a-f0-9]+: ff e1 jmp \*%ecx -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8b 8b 0c 00 00 00 mov 0xc\(%ebx\),%ecx -[ ]*[a-f0-9]+: 83 e1 e0 and \$0xffffffe0,%ecx -[ ]*[a-f0-9]+: ff e1 jmp \*%ecx -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0 -[ ]*[a-f0-9]+: e9 00 00 00 00 jmp 6a <\.plt\+0x6a> -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop - -Disassembly of section .text: - -0+80 <_start>: -[ ]*[a-f0-9]+: 3b 80 fc ff ff ff cmp -0x4\(%eax\),%eax -[ ]*[a-f0-9]+: ff a0 fc ff ff ff jmp \*-0x4\(%eax\) -[ ]*[a-f0-9]+: e8 af ff ff ff call 40 <.*> -[ ]*[a-f0-9]+: 3d 00 00 00 00 cmp \$0x0,%eax -[ ]*[a-f0-9]+: e8 fc ff ff ff call 97 <.*> diff --git a/ld/testsuite/ld-i386/pr19636-2c.d b/ld/testsuite/ld-i386/pr19636-2c.d index b126480..e3b737b 100644 --- a/ld/testsuite/ld-i386/pr19636-2c.d +++ b/ld/testsuite/ld-i386/pr19636-2c.d @@ -2,7 +2,6 @@ #as: --32 -mrelax-relocations=no #ld: -pie -m elf_i386 -z notext #objdump: -dw -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr19636-2d-nacl.d b/ld/testsuite/ld-i386/pr19636-2d-nacl.d deleted file mode 100644 index c7b5d10..0000000 --- a/ld/testsuite/ld-i386/pr19636-2d-nacl.d +++ /dev/null @@ -1,21 +0,0 @@ -#source: pr19636-2.s -#as: --32 -mrelax-relocations=no -#ld: -shared -m elf_i386 -#readelf : -r --wide --dyn-syms -#target: i?86-*-nacl* x86_64-*-nacl* - -Relocation section '\.rel\.dyn' at offset [0x0-9a-f]+ contains 3 entries: - +Offset +Info +Type +Sym. Value +Symbol's Name -[0-9a-f]+ +[0-9a-f]+ +R_386_32 +0+ +func -[0-9a-f]+ +[0-9a-f]+ +R_386_PC32 +0+ +func -[0-9a-f]+ +[0-9a-f]+ +R_386_GLOB_DAT +0+ +func - -Relocation section '\.rel\.plt' at offset [0x0-9a-f]+ contains 1 entry: - +Offset +Info +Type +Sym. Value +Symbol's Name -[0-9a-f]+ +[0-9a-f]+ +R_386_JUMP_SLOT +0+ +func - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -#... - +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +WEAK +DEFAULT +UND +func -#pass diff --git a/ld/testsuite/ld-i386/pr19636-2d.d b/ld/testsuite/ld-i386/pr19636-2d.d index 694be36..22f09d8 100644 --- a/ld/testsuite/ld-i386/pr19636-2d.d +++ b/ld/testsuite/ld-i386/pr19636-2d.d @@ -2,7 +2,6 @@ #as: --32 -mrelax-relocations=no #ld: -shared -m elf_i386 -z notext #readelf : -r --wide --dyn-syms -#notarget: i?86-*-nacl* x86_64-*-nacl* Relocation section '\.rel\.dyn' at offset [0x0-9a-f]+ contains 3 entries: +Offset +Info +Type +Sym. Value +Symbol's Name diff --git a/ld/testsuite/ld-i386/pr19636-2e-nacl.d b/ld/testsuite/ld-i386/pr19636-2e-nacl.d deleted file mode 100644 index eb0cf8d..0000000 --- a/ld/testsuite/ld-i386/pr19636-2e-nacl.d +++ /dev/null @@ -1,21 +0,0 @@ -#source: pr19636-2.s -#as: --32 -mrelax-relocations=no -#ld: -shared -Bsymbolic -m elf_i386 -#readelf : -r --wide --dyn-syms -#target: i?86-*-nacl* x86_64-*-nacl* - -Relocation section '\.rel\.dyn' at offset [0x0-9a-f]+ contains 3 entries: - +Offset +Info +Type +Sym. Value +Symbol's Name -[0-9a-f]+ +[0-9a-f]+ +R_386_32 +0+ +func -[0-9a-f]+ +[0-9a-f]+ +R_386_PC32 +0+ +func -[0-9a-f]+ +[0-9a-f]+ +R_386_GLOB_DAT +0+ +func - -Relocation section '\.rel\.plt' at offset [0x0-9a-f]+ contains 1 entry: - +Offset +Info +Type +Sym. Value +Symbol's Name -[0-9a-f]+ +[0-9a-f]+ +R_386_JUMP_SLOT +0+ +func - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -#... - +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +WEAK +DEFAULT +UND +func -#pass diff --git a/ld/testsuite/ld-i386/pr19636-2e.d b/ld/testsuite/ld-i386/pr19636-2e.d index c039fcb..89c0d5d 100644 --- a/ld/testsuite/ld-i386/pr19636-2e.d +++ b/ld/testsuite/ld-i386/pr19636-2e.d @@ -2,7 +2,6 @@ #as: --32 -mrelax-relocations=no #ld: -shared -Bsymbolic -m elf_i386 -z notext #readelf : -r --wide --dyn-syms -#notarget: i?86-*-nacl* x86_64-*-nacl* Relocation section '\.rel\.dyn' at offset [0x0-9a-f]+ contains 3 entries: +Offset +Info +Type +Sym. Value +Symbol's Name diff --git a/ld/testsuite/ld-i386/pr19827-nacl.rd b/ld/testsuite/ld-i386/pr19827-nacl.rd deleted file mode 100644 index e48d7d5..0000000 --- a/ld/testsuite/ld-i386/pr19827-nacl.rd +++ /dev/null @@ -1,5 +0,0 @@ -#readelf: -r --wide - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 1 entry: - Offset Info Type Sym. Value Symbol's Name -[0-9a-f]+ +[0-9a-f]+ +R_386_RELATIVE + diff --git a/ld/testsuite/ld-i386/pr20244-1a.d b/ld/testsuite/ld-i386/pr20244-1a.d index 98aaa9e..a2d6c3f 100644 --- a/ld/testsuite/ld-i386/pr20244-1a.d +++ b/ld/testsuite/ld-i386/pr20244-1a.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #objdump: --sym -dw -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr20244-1b.d b/ld/testsuite/ld-i386/pr20244-1b.d index f5a1a61..160ce86 100644 --- a/ld/testsuite/ld-i386/pr20244-1b.d +++ b/ld/testsuite/ld-i386/pr20244-1b.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #objdump: -s -j .got -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr20244-2a.d b/ld/testsuite/ld-i386/pr20244-2a.d index 40c6e32..334b89e 100644 --- a/ld/testsuite/ld-i386/pr20244-2a.d +++ b/ld/testsuite/ld-i386/pr20244-2a.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #objdump: --sym -dw -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr20244-2b.d b/ld/testsuite/ld-i386/pr20244-2b.d index 406d3bd..05364e0 100644 --- a/ld/testsuite/ld-i386/pr20244-2b.d +++ b/ld/testsuite/ld-i386/pr20244-2b.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #objdump: -s -j .got.plt -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr20244-2c.d b/ld/testsuite/ld-i386/pr20244-2c.d index 142ec27..a01f6f1 100644 --- a/ld/testsuite/ld-i386/pr20244-2c.d +++ b/ld/testsuite/ld-i386/pr20244-2c.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #readelf: -rW -#notarget: i?86-*-nacl* x86_64-*-nacl* Relocation section '.rel.plt' at offset 0x74 contains 2 entries: Offset Info Type Sym. Value Symbol's Name diff --git a/ld/testsuite/ld-i386/pr20244-4a.d b/ld/testsuite/ld-i386/pr20244-4a.d index 7e6fe36..865d339 100644 --- a/ld/testsuite/ld-i386/pr20244-4a.d +++ b/ld/testsuite/ld-i386/pr20244-4a.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #objdump: -dw -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr20244-4b.d b/ld/testsuite/ld-i386/pr20244-4b.d index 946f56b..cbf0d65 100644 --- a/ld/testsuite/ld-i386/pr20244-4b.d +++ b/ld/testsuite/ld-i386/pr20244-4b.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -z noseparate-code #objdump: -s -j .got -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: +file format .* diff --git a/ld/testsuite/ld-i386/pr21884-nacl.d b/ld/testsuite/ld-i386/pr21884-nacl.d deleted file mode 100644 index 82daaaa..0000000 --- a/ld/testsuite/ld-i386/pr21884-nacl.d +++ /dev/null @@ -1,10 +0,0 @@ -#source: dummy.s -#as: --32 -#ld: -m elf_i386 -T pr21884-nacl.t -b binary -#objdump: -b binary -s -#target: i?86-*-nacl* x86_64-*-nacl* - -.*: file format binary - -Contents of section .data: -#pass diff --git a/ld/testsuite/ld-i386/pr21884-nacl.t b/ld/testsuite/ld-i386/pr21884-nacl.t deleted file mode 100644 index 3ffb56c..0000000 --- a/ld/testsuite/ld-i386/pr21884-nacl.t +++ /dev/null @@ -1,11 +0,0 @@ -OUTPUT_FORMAT("elf32-i386-nacl"); -OUTPUT_ARCH(i386); - -ENTRY(_start); -SECTIONS { - . = 0x10000; - _start = . ; - .data : { - *(.data) - } -} diff --git a/ld/testsuite/ld-i386/pr21884.d b/ld/testsuite/ld-i386/pr21884.d index ea73aa2..dc212d3 100644 --- a/ld/testsuite/ld-i386/pr21884.d +++ b/ld/testsuite/ld-i386/pr21884.d @@ -2,7 +2,6 @@ #as: --32 #ld: -m elf_i386 -T pr21884.t -b binary #objdump: -b binary -s -#notarget: i?86-*-nacl* x86_64-*-nacl* .*: file format binary diff --git a/ld/testsuite/ld-i386/tlsbin-nacl.rd b/ld/testsuite/ld-i386/tlsbin-nacl.rd deleted file mode 100644 index 38642ce..0000000 --- a/ld/testsuite/ld-i386/tlsbin-nacl.rd +++ /dev/null @@ -1,160 +0,0 @@ -#source: tlsbinpic.s -#source: tlsbin.s -#as: --32 -#ld: -melf_i386_nacl tmpdir/libtlslib.so --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.plt +.* - +\[[ 0-9]+\] \.text +PROGBITS +0+21000 .* - +\[[ 0-9]+\] \.interp +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.rel.plt +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +0*10031000 [0-9a-f]+ 000060 00 WAT +0 +0 4096 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10031060 .* - +\[[ 0-9]+\] \.got +PROGBITS +0*10031100 .* - +\[[ 0-9]+\] \.got\.plt +PROGBITS +0*10031124 .* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is EXEC \(Executable file\) -Entry point 0x0*21188 -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +PHDR.* - +INTERP.* -.*Requesting program interpreter.* - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 - - Section to Segment mapping: - +Segment Sections... - +00 + - +01 +.interp * - +02 +.plt .text * - +03 +.interp .hash .dynsym .dynstr .rel.dyn .rel.plt * - +04 +.tdata .dynamic .got .got.plt * - +05 +.dynamic * - +06 +.tdata .tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG3 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG5 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG7 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG2 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG4 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG4 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG6 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG1 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG8 - -Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entry: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_JUMP_SLOT +[0-9a-f]+ +___tls_get_addr - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbinpic.o - +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +9 sl1 - +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +9 sl2 - +[0-9]+: 00000028 +0 +TLS +LOCAL +DEFAULT +9 sl3 - +[0-9]+: 0000002c +0 +TLS +LOCAL +DEFAULT +9 sl4 - +[0-9]+: 00000030 +0 +TLS +LOCAL +DEFAULT +9 sl5 - +[0-9]+: 00000034 +0 +TLS +LOCAL +DEFAULT +9 sl6 - +[0-9]+: 00000038 +0 +TLS +LOCAL +DEFAULT +9 sl7 - +[0-9]+: 0000003c +0 +TLS +LOCAL +DEFAULT +9 sl8 -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbin.o - +[0-9]+: 00000080 +0 +TLS +LOCAL +DEFAULT +10 bl1 - +[0-9]+: 00000084 +0 +TLS +LOCAL +DEFAULT +10 bl2 - +[0-9]+: 00000088 +0 +TLS +LOCAL +DEFAULT +10 bl3 - +[0-9]+: 0000008c +0 +TLS +LOCAL +DEFAULT +10 bl4 - +[0-9]+: 00000090 +0 +TLS +LOCAL +DEFAULT +10 bl5 - +[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +10 bl6 - +[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +10 bl7 - +[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +10 bl8 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: 0*10031060 +0 +OBJECT +LOCAL +DEFAULT +11 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +9 sg8 - +[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +10 bg8 - +[0-9]+: 00000074 +0 +TLS +GLOBAL +DEFAULT +10 bg6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 00000068 +0 +TLS +GLOBAL +DEFAULT +10 bg3 - +[0-9]+: 00000008 +0 +TLS +GLOBAL +DEFAULT +9 sg3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 - +[0-9]+: 00000048 +0 +TLS +GLOBAL +HIDDEN +9 sh3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0000000c +0 +TLS +GLOBAL +DEFAULT +9 sg4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 00000010 +0 +TLS +GLOBAL +DEFAULT +9 sg5 - +[0-9]+: 00000070 +0 +TLS +GLOBAL +DEFAULT +10 bg5 - +[0-9]+: 00000058 +0 +TLS +GLOBAL +HIDDEN +9 sh7 - +[0-9]+: 0000005c +0 +TLS +GLOBAL +HIDDEN +9 sh8 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +9 sg1 - +[0-9]+: 0+21188 +0 +FUNC +GLOBAL +DEFAULT +2 _start - +[0-9]+: 0000004c +0 +TLS +GLOBAL +HIDDEN +9 sh4 - +[0-9]+: 00000078 +0 +TLS +GLOBAL +DEFAULT +10 bg7 - +[0-9]+: 00000050 +0 +TLS +GLOBAL +HIDDEN +9 sh5 - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 __bss_start - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: 0+21000 +0 +FUNC +GLOBAL +DEFAULT +2 fn2 - +[0-9]+: 00000004 +0 +TLS +GLOBAL +DEFAULT +9 sg2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 00000040 +0 +TLS +GLOBAL +HIDDEN +9 sh1 - +[0-9]+: 00000014 +0 +TLS +GLOBAL +DEFAULT +9 sg6 - +[0-9]+: 00000018 +0 +TLS +GLOBAL +DEFAULT +9 sg7 - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _edata - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _end - +[0-9]+: 00000044 +0 +TLS +GLOBAL +HIDDEN +9 sh2 - +[0-9]+: 00000054 +0 +TLS +GLOBAL +HIDDEN +9 sh6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 - +[0-9]+: 00000064 +0 +TLS +GLOBAL +DEFAULT +10 bg2 - +[0-9]+: 00000060 +0 +TLS +GLOBAL +DEFAULT +10 bg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr - +[0-9]+: 0000006c +0 +TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-i386/tlsbin2-nacl.rd b/ld/testsuite/ld-i386/tlsbin2-nacl.rd deleted file mode 100644 index da69c27..0000000 --- a/ld/testsuite/ld-i386/tlsbin2-nacl.rd +++ /dev/null @@ -1,153 +0,0 @@ -#source: tlsbinpic2.s -#source: tlsbin.s -#as: --32 -#ld: -melf_i386_nacl tmpdir/libtlslib.so --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.text +PROGBITS +0+20000 .* - +\[[ 0-9]+\] \.interp +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +0*10031000 [0-9a-f]+ 000060 00 WAT +0 +0 4096 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10031060 .* - +\[[ 0-9]+\] \.got +PROGBITS +0*100310e0 .* - +\[[ 0-9]+\] \.got\.plt +PROGBITS +0*10031108 .* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is EXEC \(Executable file\) -Entry point 0x0*20188 -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +PHDR.* - +INTERP.* -.*Requesting program interpreter.* - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 - - Section to Segment mapping: - +Segment Sections... - +00 + - +01 +.interp * - +02 +.text * - +03 +.interp .hash .dynsym .dynstr .rel.dyn * - +04 +.tdata .dynamic .got .got.plt * - +05 +.dynamic * - +06 +.tdata .tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 10 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG3 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG5 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG7 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG2 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG4 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG4 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG6 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG1 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG8 -[0-9a-f ]+R_386_GLOB_DAT +[0-9a-f]+ +___tls_get_addr - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbinpic2.o - +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +7 sl1 - +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +7 sl2 - +[0-9]+: 00000028 +0 +TLS +LOCAL +DEFAULT +7 sl3 - +[0-9]+: 0000002c +0 +TLS +LOCAL +DEFAULT +7 sl4 - +[0-9]+: 00000030 +0 +TLS +LOCAL +DEFAULT +7 sl5 - +[0-9]+: 00000034 +0 +TLS +LOCAL +DEFAULT +7 sl6 - +[0-9]+: 00000038 +0 +TLS +LOCAL +DEFAULT +7 sl7 - +[0-9]+: 0000003c +0 +TLS +LOCAL +DEFAULT +7 sl8 -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbin.o - +[0-9]+: 00000080 +0 +TLS +LOCAL +DEFAULT +8 bl1 - +[0-9]+: 00000084 +0 +TLS +LOCAL +DEFAULT +8 bl2 - +[0-9]+: 00000088 +0 +TLS +LOCAL +DEFAULT +8 bl3 - +[0-9]+: 0000008c +0 +TLS +LOCAL +DEFAULT +8 bl4 - +[0-9]+: 00000090 +0 +TLS +LOCAL +DEFAULT +8 bl5 - +[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +8 bl6 - +[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +8 bl7 - +[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +8 bl8 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: 0*10031060 +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +7 sg8 - +[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +8 bg8 - +[0-9]+: 00000074 +0 +TLS +GLOBAL +DEFAULT +8 bg6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 00000068 +0 +TLS +GLOBAL +DEFAULT +8 bg3 - +[0-9]+: 00000008 +0 +TLS +GLOBAL +DEFAULT +7 sg3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 - +[0-9]+: 00000048 +0 +TLS +GLOBAL +HIDDEN +7 sh3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0000000c +0 +TLS +GLOBAL +DEFAULT +7 sg4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 00000010 +0 +TLS +GLOBAL +DEFAULT +7 sg5 - +[0-9]+: 00000070 +0 +TLS +GLOBAL +DEFAULT +8 bg5 - +[0-9]+: 00000058 +0 +TLS +GLOBAL +HIDDEN +7 sh7 - +[0-9]+: 0000005c +0 +TLS +GLOBAL +HIDDEN +7 sh8 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 - +[0-9]+: 0+20188 +0 +FUNC +GLOBAL +DEFAULT +1 _start - +[0-9]+: 0000004c +0 +TLS +GLOBAL +HIDDEN +7 sh4 - +[0-9]+: 00000078 +0 +TLS +GLOBAL +DEFAULT +8 bg7 - +[0-9]+: 00000050 +0 +TLS +GLOBAL +HIDDEN +7 sh5 - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __bss_start - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: 0+20000 +0 +FUNC +GLOBAL +DEFAULT +1 fn2 - +[0-9]+: 00000004 +0 +TLS +GLOBAL +DEFAULT +7 sg2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 00000040 +0 +TLS +GLOBAL +HIDDEN +7 sh1 - +[0-9]+: 00000014 +0 +TLS +GLOBAL +DEFAULT +7 sg6 - +[0-9]+: 00000018 +0 +TLS +GLOBAL +DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end - +[0-9]+: 00000044 +0 +TLS +GLOBAL +HIDDEN +7 sh2 - +[0-9]+: 00000054 +0 +TLS +GLOBAL +HIDDEN +7 sh6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 - +[0-9]+: 00000064 +0 +TLS +GLOBAL +DEFAULT +8 bg2 - +[0-9]+: 00000060 +0 +TLS +GLOBAL +DEFAULT +8 bg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr - +[0-9]+: 0000006c +0 +TLS +GLOBAL +DEFAULT +8 bg4 diff --git a/ld/testsuite/ld-i386/tlsbindesc-nacl.rd b/ld/testsuite/ld-i386/tlsbindesc-nacl.rd deleted file mode 100644 index f86ad79..0000000 --- a/ld/testsuite/ld-i386/tlsbindesc-nacl.rd +++ /dev/null @@ -1,151 +0,0 @@ -#source: tlsbindesc.s -#source: tlsbin.s -#as: --32 -#ld: -melf_i386_nacl tmpdir/libtlslib.so --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.text +PROGBITS +0+20000 .* - +\[[ 0-9]+\] \.interp +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +0*10031000 [0-9a-f]+ 000060 00 WAT +0 +0 4096 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10031060 .* - +\[[ 0-9]+\] \.got +PROGBITS +0*100310e0 .* - +\[[ 0-9]+\] \.got\.plt +PROGBITS +0*10031104 .* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is EXEC \(Executable file\) -Entry point 0x0*20156 -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +PHDR.* - +INTERP.* -.*Requesting program interpreter.* - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 - - Section to Segment mapping: - +Segment Sections... - +00 + - +01 +.interp * - +02 +.text * - +03 +.interp .hash .dynsym .dynstr .rel.dyn * - +04 +.tdata .dynamic .got .got.plt * - +05 +.dynamic * - +06 +.tdata .tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: - Offset +Info +Type +Sym.Value +Sym. Name -0*100310e0 +0000010e R_386_TLS_TPOFF +0+ +sG3 -0*100310e4 +0000020e R_386_TLS_TPOFF +0+ +sG5 -0*100310e8 +0000030e R_386_TLS_TPOFF +0+ +sG7 -0*100310ec +00000425 R_386_TLS_TPOFF32 0+ +sG2 -0*100310f0 +00000525 R_386_TLS_TPOFF32 0+ +sG4 -0*100310f4 +0000050e R_386_TLS_TPOFF +0+ +sG4 -0*100310f8 +00000625 R_386_TLS_TPOFF32 0+ +sG6 -0*100310fc +00000725 R_386_TLS_TPOFF32 0+ +sG1 -0*10031100 +0000080e R_386_TLS_TPOFF +0+ +sG8 - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbindesc.o - +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +7 sl1 - +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +7 sl2 - +[0-9]+: 00000028 +0 +TLS +LOCAL +DEFAULT +7 sl3 - +[0-9]+: 0000002c +0 +TLS +LOCAL +DEFAULT +7 sl4 - +[0-9]+: 00000030 +0 +TLS +LOCAL +DEFAULT +7 sl5 - +[0-9]+: 00000034 +0 +TLS +LOCAL +DEFAULT +7 sl6 - +[0-9]+: 00000038 +0 +TLS +LOCAL +DEFAULT +7 sl7 - +[0-9]+: 0000003c +0 +TLS +LOCAL +DEFAULT +7 sl8 -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbin.o - +[0-9]+: 00000080 +0 +TLS +LOCAL +DEFAULT +8 bl1 - +[0-9]+: 00000084 +0 +TLS +LOCAL +DEFAULT +8 bl2 - +[0-9]+: 00000088 +0 +TLS +LOCAL +DEFAULT +8 bl3 - +[0-9]+: 0000008c +0 +TLS +LOCAL +DEFAULT +8 bl4 - +[0-9]+: 00000090 +0 +TLS +LOCAL +DEFAULT +8 bl5 - +[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +8 bl6 - +[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +8 bl7 - +[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +8 bl8 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: 00001000 +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_ - +[0-9]+: 0*10031060 +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +7 sg8 - +[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +8 bg8 - +[0-9]+: 00000074 +0 +TLS +GLOBAL +DEFAULT +8 bg6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 00000068 +0 +TLS +GLOBAL +DEFAULT +8 bg3 - +[0-9]+: 00000008 +0 +TLS +GLOBAL +DEFAULT +7 sg3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 - +[0-9]+: 00000048 +0 +TLS +GLOBAL +HIDDEN +7 sh3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0000000c +0 +TLS +GLOBAL +DEFAULT +7 sg4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 00000010 +0 +TLS +GLOBAL +DEFAULT +7 sg5 - +[0-9]+: 00000070 +0 +TLS +GLOBAL +DEFAULT +8 bg5 - +[0-9]+: 00000058 +0 +TLS +GLOBAL +HIDDEN +7 sh7 - +[0-9]+: 0000005c +0 +TLS +GLOBAL +HIDDEN +7 sh8 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 - +[0-9]+: 0+20156 +0 +FUNC +GLOBAL +DEFAULT +1 _start - +[0-9]+: 0000004c +0 +TLS +GLOBAL +HIDDEN +7 sh4 - +[0-9]+: 00000078 +0 +TLS +GLOBAL +DEFAULT +8 bg7 - +[0-9]+: 00000050 +0 +TLS +GLOBAL +HIDDEN +7 sh5 - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __bss_start - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: 0+20000 +0 +FUNC +GLOBAL +DEFAULT +1 fn2 - +[0-9]+: 00000004 +0 +TLS +GLOBAL +DEFAULT +7 sg2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 00000040 +0 +TLS +GLOBAL +HIDDEN +7 sh1 - +[0-9]+: 00000014 +0 +TLS +GLOBAL +DEFAULT +7 sg6 - +[0-9]+: 00000018 +0 +TLS +GLOBAL +DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata - +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end - +[0-9]+: 00000044 +0 +TLS +GLOBAL +HIDDEN +7 sh2 - +[0-9]+: 00000054 +0 +TLS +GLOBAL +HIDDEN +7 sh6 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 - +[0-9]+: 00000064 +0 +TLS +GLOBAL +DEFAULT +8 bg2 - +[0-9]+: 00000060 +0 +TLS +GLOBAL +DEFAULT +8 bg1 - +[0-9]+: 0000006c +0 +TLS +GLOBAL +DEFAULT +8 bg4 diff --git a/ld/testsuite/ld-i386/tlsdesc-nacl.rd b/ld/testsuite/ld-i386/tlsdesc-nacl.rd deleted file mode 100644 index 6237691..0000000 --- a/ld/testsuite/ld-i386/tlsdesc-nacl.rd +++ /dev/null @@ -1,145 +0,0 @@ -#source: tlsdesc.s -#source: tlspic2.s -#as: --32 -#ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.text +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.rel.plt +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +.* - +\[[ 0-9]+\] \.got +.* - +\[[ 0-9]+\] \.got.plt +.* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is DYN \(Shared object file\) -Entry point 0x[0-9a-f]+ -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 - - Section to Segment mapping: - +Segment Sections... - +00 +.text * - +01 +.hash .dynsym .dynstr .rel.dyn .rel.plt * - +02 +.tdata .dynamic .got .got.plt * - +03 +.dynamic * - +04 +.tdata .tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3 -[0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5 -[0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2 - -Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 5 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_DESC * 0+ +sg1 -[0-9a-f ]+R_386_TLS_DESC * -[0-9a-f ]+R_386_TLS_DESC * -[0-9a-f ]+R_386_TLS_DESC * -[0-9a-f ]+R_386_TLS_DESC * - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 - +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 - +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +1 fn1 - +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 - +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsdesc.o - +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1 - +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2 - +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3 - +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +7 sl4 - +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +7 sl5 - +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6 - +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7 - +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +8 sH1 - +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_ - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC - +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +7 sh3 - +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +8 sH2 - +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +8 sH7 - +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +7 sh7 - +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +7 sh8 - +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +8 sH4 - +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +7 sh4 - +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +8 sH3 - +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +7 sh5 - +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +8 sH5 - +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +8 sH6 - +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +8 sH8 - +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +7 sh1 - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +7 sh2 - +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +7 sh6 - +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 - +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 - +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +1 fn1 - +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 - +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 diff --git a/ld/testsuite/ld-i386/tlsgdesc-nacl.rd b/ld/testsuite/ld-i386/tlsgdesc-nacl.rd deleted file mode 100644 index 9107fd4..0000000 --- a/ld/testsuite/ld-i386/tlsgdesc-nacl.rd +++ /dev/null @@ -1,97 +0,0 @@ -#source: tlsgdesc.s -#as: --32 -#ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.plt +.* - +\[[ 0-9]+\] \.text +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.rel.plt +.* - +\[[ 0-9]+\] \.dynamic +.* - +\[[ 0-9]+\] \.got +.* - +\[[ 0-9]+\] \.got.plt +.* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is DYN \(Shared object file\) -Entry point 0x[0-9a-f]+ -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - - Section to Segment mapping: - +Segment Sections... - +00 +.plt .text * - +01 +.hash .dynsym .dynstr .rel.dyn .rel.plt * - +02 +.dynamic .got .got.plt * - +03 +.dynamic * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 8 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG3 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG5 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sG2 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sG2 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG4 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG6 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sG1 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sG1 - -Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 3 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_JUMP_SLOT +0+ +___tls_get_addr -[0-9a-f ]+R_386_TLS_DESC +0+ +sG1 -[0-9a-f ]+R_386_TLS_DESC +0+ +sG2 - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fc1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +8 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fc1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 - +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr diff --git a/ld/testsuite/ld-i386/tlsnopic-nacl.rd b/ld/testsuite/ld-i386/tlsnopic-nacl.rd deleted file mode 100644 index e981c86..0000000 --- a/ld/testsuite/ld-i386/tlsnopic-nacl.rd +++ /dev/null @@ -1,112 +0,0 @@ -#source: tlsnopic1.s -#source: tlsnopic2.s -#as: --32 -#ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.text +PROGBITS +0+ .* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10010230 .* - +\[[ 0-9]+\] \.got +PROGBITS +0*100102b0 .* - +\[[ 0-9]+\] \.got.plt +PROGBITS +0*100102c8 .* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is DYN \(Shared object file\) -Entry point 0x0+ -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 - - Section to Segment mapping: - +Segment Sections... - +00 +.text * - +01 +.hash .dynsym .dynstr .rel.dyn * - +02 +.dynamic .got .got.plt * - +03 +.dynamic * - +04 +.tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sg3 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg5 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg1 -[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg2 - - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4 - +[0-9]+: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 fn3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2 - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsnopic1.o - +[0-9]+: 0+00 +0 +TLS +LOCAL +DEFAULT +6 bl1 - +[0-9]+: 0+04 +0 +TLS +LOCAL +DEFAULT +6 bl2 - +[0-9]+: 0+08 +0 +TLS +LOCAL +DEFAULT +6 bl3 - +[0-9]+: 0+0c +0 +TLS +LOCAL +DEFAULT +6 bl4 - +[0-9]+: 0+10 +0 +TLS +LOCAL +DEFAULT +6 bl5 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +7 _DYNAMIC - +[0-9]+: 0+1c +0 +TLS +LOCAL +DEFAULT +6 sh3 - +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +6 sh4 - +[0-9]+: 0+14 +0 +TLS +LOCAL +DEFAULT +6 sh1 - +[0-9]+: 0*100102c8 +0 +OBJECT +LOCAL +DEFAULT +9 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+18 +0 +TLS +LOCAL +DEFAULT +6 sh2 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4 - +[0-9]+: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 fn3 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2 diff --git a/ld/testsuite/ld-i386/tlspic-nacl.rd b/ld/testsuite/ld-i386/tlspic-nacl.rd deleted file mode 100644 index 38aaf6a..0000000 --- a/ld/testsuite/ld-i386/tlspic-nacl.rd +++ /dev/null @@ -1,150 +0,0 @@ -#source: tlspic1.s -#source: tlspic2.s -#as: --32 -#ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.plt +.* - +\[[ 0-9]+\] \.text +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.rel.plt +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +.* - +\[[ 0-9]+\] \.got +.* - +\[[ 0-9]+\] \.got.plt +.* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is DYN \(Shared object file\) -Entry point 0x[0-9a-f]+ -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 - - Section to Segment mapping: - +Segment Sections... - +00 +.plt .text * - +01 +.hash .dynsym .dynstr .rel.dyn .rel.plt * - +02 +.tdata .dynamic .got .got.plt * - +03 +.dynamic * - +04 +.tdata .tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3 -[0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sg1 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sg1 -[0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2 - -Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entry: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_JUMP_SLOT +0+ +___tls_get_addr - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8 - +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3 - +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4 - +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fn1 - +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2 - +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +8 sg6 - +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +8 sg7 - +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlspic1.o - +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +8 sl1 - +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +8 sl2 - +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +8 sl3 - +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +8 sl4 - +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +8 sl5 - +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +8 sl6 - +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +8 sl7 - +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +8 sl8 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +9 sH1 - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _DYNAMIC - +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +8 sh3 - +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +9 sH2 - +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +9 sH7 - +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +8 sh7 - +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +8 sh8 - +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +9 sH4 - +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +8 sh4 - +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +9 sH3 - +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +8 sh5 - +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +9 sH5 - +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +9 sH6 - +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +9 sH8 - +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +8 sh1 - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +8 sh2 - +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +8 sh6 - +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8 - +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3 - +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4 - +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fn1 - +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2 - +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +8 sg6 - +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +8 sg7 - +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr diff --git a/ld/testsuite/ld-i386/tlspic2-nacl.rd b/ld/testsuite/ld-i386/tlspic2-nacl.rd deleted file mode 100644 index c5e8a0e..0000000 --- a/ld/testsuite/ld-i386/tlspic2-nacl.rd +++ /dev/null @@ -1,143 +0,0 @@ -#source: tlspic3.s -#source: tlspic2.s -#as: --32 -#ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-nacl* - -There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: - -Section Headers: - +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[[ 0-9]+\] \.text +.* - +\[[ 0-9]+\] \.hash +.* - +\[[ 0-9]+\] \.dynsym +.* - +\[[ 0-9]+\] \.dynstr +.* - +\[[ 0-9]+\] \.rel.dyn +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1 - +\[[ 0-9]+\] \.dynamic +.* - +\[[ 0-9]+\] \.got +.* - +\[[ 0-9]+\] \.got.plt +.* - +\[[ 0-9]+\] \.symtab +.* - +\[[ 0-9]+\] \.strtab +.* - +\[[ 0-9]+\] \.shstrtab +.* -Key to Flags: -#... - -Elf file type is DYN \(Shared object file\) -Entry point 0x[0-9a-f]+ -There are [0-9]+ program headers, starting at offset [0-9]+ - -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - +LOAD.* - +LOAD.* - +LOAD.* - +DYNAMIC.* - +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 - - Section to Segment mapping: - +Segment Sections... - +00 +.text * - +01 +.hash .dynsym .dynstr .rel.dyn * - +02 +.tdata .dynamic .got .got.plt * - +03 +.dynamic * - +04 +.tdata .tbss * - -Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 27 entries: - Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_TPOFF * -[0-9a-f ]+R_386_TLS_DTPMOD3 -[0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3 -[0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4 -[0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sg1 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sg1 -[0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2 -[0-9a-f ]+R_386_GLOB_DAT +0+ +___tls_get_addr - -Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +6 sg8 - +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +6 sg3 - +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +6 sg4 - +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +6 sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +6 sg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +1 fn1 - +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +6 sg2 - +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +6 sg6 - +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +6 sg7 - +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr - -Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size +Type +Bind +Vis +Ndx +Name - +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * -.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlspic3.o - +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +6 sl1 - +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +6 sl2 - +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +6 sl3 - +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +6 sl4 - +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +6 sl5 - +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +6 sl6 - +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +6 sl7 - +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +6 sl8 -.* FILE +LOCAL +DEFAULT +ABS - +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +7 sH1 - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +8 _DYNAMIC - +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +6 sh3 - +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +7 sH2 - +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +7 sH7 - +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +6 sh7 - +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +6 sh8 - +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +7 sH4 - +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +6 sh4 - +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +7 sH3 - +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +6 sh5 - +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +7 sH5 - +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +7 sH6 - +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +7 sH8 - +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +6 sh1 - +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +6 sh2 - +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +6 sh6 - +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +6 sg8 - +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +6 sg3 - +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +6 sg4 - +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +6 sg5 - +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +6 sg1 - +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +1 fn1 - +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +6 sg2 - +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +6 sg6 - +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +6 sg7 - +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr |