]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove x86 NaCl target support
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 30 Jun 2020 15:47:02 +0000 (08:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 30 Jun 2020 15:56:14 +0000 (08:56 -0700)
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.

222 files changed:
bfd/ChangeLog
bfd/archures.c
bfd/bfd-in2.h
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/cpu-i386.c
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.c
bfd/targets.c
binutils/ChangeLog
binutils/NEWS
binutils/dwarf.c
binutils/testsuite/binutils-all/elfedit-1.d
binutils/testsuite/binutils-all/i386/i386.exp
binutils/testsuite/binutils-all/x86-64/objects.exp
binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494a.d
binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494b.d
binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494c.d
binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494d.d
binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494e.d
binutils/testsuite/binutils-all/x86-64/x86-64.exp
gas/ChangeLog
gas/NEWS
gas/config/tc-i386.c
gas/config/tc-i386.h
gas/configure.tgt
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/iamcu-1.d
gas/testsuite/gas/i386/iamcu-2.d
gas/testsuite/gas/i386/iamcu-3.d
gas/testsuite/gas/i386/iamcu-4.d
gas/testsuite/gas/i386/iamcu-5.d
gas/testsuite/gas/i386/k1om.d
gas/testsuite/gas/i386/l1om.d
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/NEWS
ld/configure.tgt
ld/emulparams/elf32_x86_64_nacl.sh [deleted file]
ld/emulparams/elf_i386_nacl.sh [deleted file]
ld/emulparams/elf_x86_64_nacl.sh [deleted file]
ld/po/BLD-POTFILES.in
ld/testsuite/ld-elf/binutils.exp
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-i386/align-branch-1.d
ld/testsuite/ld-i386/emit-relocs-nacl.rd [deleted file]
ld/testsuite/ld-i386/export-class.exp
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/load1-nacl.d [deleted file]
ld/testsuite/ld-i386/load1.d
ld/testsuite/ld-i386/pie1-nacl.d [deleted file]
ld/testsuite/ld-i386/pie1.d
ld/testsuite/ld-i386/plt-nacl.pd [deleted file]
ld/testsuite/ld-i386/plt-pic-nacl.pd [deleted file]
ld/testsuite/ld-i386/pr12570a.d
ld/testsuite/ld-i386/pr12570b.d
ld/testsuite/ld-i386/pr17709-nacl.rd [deleted file]
ld/testsuite/ld-i386/pr19636-1d-nacl.d [deleted file]
ld/testsuite/ld-i386/pr19636-1d.d
ld/testsuite/ld-i386/pr19636-1l.d
ld/testsuite/ld-i386/pr19636-2c-nacl.d [deleted file]
ld/testsuite/ld-i386/pr19636-2c.d
ld/testsuite/ld-i386/pr19636-2d-nacl.d [deleted file]
ld/testsuite/ld-i386/pr19636-2d.d
ld/testsuite/ld-i386/pr19636-2e-nacl.d [deleted file]
ld/testsuite/ld-i386/pr19636-2e.d
ld/testsuite/ld-i386/pr19827-nacl.rd [deleted file]
ld/testsuite/ld-i386/pr20244-1a.d
ld/testsuite/ld-i386/pr20244-1b.d
ld/testsuite/ld-i386/pr20244-2a.d
ld/testsuite/ld-i386/pr20244-2b.d
ld/testsuite/ld-i386/pr20244-2c.d
ld/testsuite/ld-i386/pr20244-4a.d
ld/testsuite/ld-i386/pr20244-4b.d
ld/testsuite/ld-i386/pr21884-nacl.d [deleted file]
ld/testsuite/ld-i386/pr21884-nacl.t [deleted file]
ld/testsuite/ld-i386/pr21884.d
ld/testsuite/ld-i386/tlsbin-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlsbin2-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlsbindesc-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlsdesc-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlsgdesc-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlsnopic-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlspic-nacl.rd [deleted file]
ld/testsuite/ld-i386/tlspic2-nacl.rd [deleted file]
ld/testsuite/ld-ifunc/binutils.exp
ld/testsuite/ld-ifunc/ifunc-10-i386.d
ld/testsuite/ld-ifunc/ifunc-10-x86-64.d
ld/testsuite/ld-ifunc/ifunc-11-i386.d
ld/testsuite/ld-ifunc/ifunc-11-x86-64.d
ld/testsuite/ld-ifunc/ifunc-12-i386.d
ld/testsuite/ld-ifunc/ifunc-12-x86-64.d
ld/testsuite/ld-ifunc/ifunc-13-i386.d
ld/testsuite/ld-ifunc/ifunc-13-x86-64.d
ld/testsuite/ld-ifunc/ifunc-14a-i386.d
ld/testsuite/ld-ifunc/ifunc-14a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-14b-i386.d
ld/testsuite/ld-ifunc/ifunc-14b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-14c-i386.d
ld/testsuite/ld-ifunc/ifunc-14c-x86-64.d
ld/testsuite/ld-ifunc/ifunc-14d-i386.d
ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d
ld/testsuite/ld-ifunc/ifunc-14e-i386.d
ld/testsuite/ld-ifunc/ifunc-14e-x86-64.d
ld/testsuite/ld-ifunc/ifunc-14f-i386.d
ld/testsuite/ld-ifunc/ifunc-14f-x86-64.d
ld/testsuite/ld-ifunc/ifunc-15-i386.d
ld/testsuite/ld-ifunc/ifunc-15-x86-64.d
ld/testsuite/ld-ifunc/ifunc-16-i386-now.d
ld/testsuite/ld-ifunc/ifunc-16-i386.d
ld/testsuite/ld-ifunc/ifunc-16-x86-64-now.d
ld/testsuite/ld-ifunc/ifunc-16-x86-64.d
ld/testsuite/ld-ifunc/ifunc-17a-i386.d
ld/testsuite/ld-ifunc/ifunc-17a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-17b-i386.d
ld/testsuite/ld-ifunc/ifunc-17b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-18a-i386.d
ld/testsuite/ld-ifunc/ifunc-18a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-18b-i386.d
ld/testsuite/ld-ifunc/ifunc-18b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-19a-i386.d
ld/testsuite/ld-ifunc/ifunc-19a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-19b-i386.d
ld/testsuite/ld-ifunc/ifunc-19b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
ld/testsuite/ld-ifunc/ifunc-2-i386.d
ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
ld/testsuite/ld-ifunc/ifunc-2-local-i386.d
ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d
ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d
ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d
ld/testsuite/ld-ifunc/ifunc-2-x86-64.d
ld/testsuite/ld-ifunc/ifunc-20-i386.d
ld/testsuite/ld-ifunc/ifunc-20-x86-64.d
ld/testsuite/ld-ifunc/ifunc-21-i386.d
ld/testsuite/ld-ifunc/ifunc-21-x86-64.d
ld/testsuite/ld-ifunc/ifunc-22-i386.d
ld/testsuite/ld-ifunc/ifunc-22-x86-64.d
ld/testsuite/ld-ifunc/ifunc-5a-i386.d
ld/testsuite/ld-ifunc/ifunc-5a-local-i386.d
ld/testsuite/ld-ifunc/ifunc-5a-local-x86-64.d
ld/testsuite/ld-ifunc/ifunc-5a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-5b-i386.d
ld/testsuite/ld-ifunc/ifunc-5b-local-i386.d
ld/testsuite/ld-ifunc/ifunc-5b-local-x86-64.d
ld/testsuite/ld-ifunc/ifunc-5b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-5r-local-i386.d
ld/testsuite/ld-ifunc/ifunc-5r-local-x86-64.d
ld/testsuite/ld-ifunc/ifunc-6a-i386.d
ld/testsuite/ld-ifunc/ifunc-6a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-6b-i386.d
ld/testsuite/ld-ifunc/ifunc-6b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-7a-i386.d
ld/testsuite/ld-ifunc/ifunc-7a-x86-64.d
ld/testsuite/ld-ifunc/ifunc-7b-i386.d
ld/testsuite/ld-ifunc/ifunc-7b-x86-64.d
ld/testsuite/ld-ifunc/ifunc-8-i386.d
ld/testsuite/ld-ifunc/ifunc-8-x86-64.d
ld/testsuite/ld-ifunc/ifunc-9-i386.d
ld/testsuite/ld-ifunc/ifunc-9-x86-64.d
ld/testsuite/ld-ifunc/pr17154-i386-now.d
ld/testsuite/ld-ifunc/pr17154-i386.d
ld/testsuite/ld-ifunc/pr17154-x86-64-now.d
ld/testsuite/ld-ifunc/pr17154-x86-64.d
ld/testsuite/ld-plugin/lto.exp
ld/testsuite/ld-x86-64/align-branch-1.d
ld/testsuite/ld-x86-64/dwarfreloc.exp
ld/testsuite/ld-x86-64/ilp32-4-nacl.d [deleted file]
ld/testsuite/ld-x86-64/line.exp
ld/testsuite/ld-x86-64/load1a-nacl.d [deleted file]
ld/testsuite/ld-x86-64/load1a.d
ld/testsuite/ld-x86-64/load1b-nacl.d [deleted file]
ld/testsuite/ld-x86-64/load1b.d
ld/testsuite/ld-x86-64/load1c-nacl.d [deleted file]
ld/testsuite/ld-x86-64/load1c.d
ld/testsuite/ld-x86-64/load1d-nacl.d [deleted file]
ld/testsuite/ld-x86-64/load1d.d
ld/testsuite/ld-x86-64/pie3-nacl.d [deleted file]
ld/testsuite/ld-x86-64/pie3.d
ld/testsuite/ld-x86-64/plt-nacl.pd [deleted file]
ld/testsuite/ld-x86-64/pr17709-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/pr18160.d
ld/testsuite/ld-x86-64/pr19013-nacl.d [deleted file]
ld/testsuite/ld-x86-64/pr19013-x32.d
ld/testsuite/ld-x86-64/pr19013.d
ld/testsuite/ld-x86-64/pr19636-2d-nacl.d [deleted file]
ld/testsuite/ld-x86-64/pr19636-2d.d
ld/testsuite/ld-x86-64/pr19636-2l.d
ld/testsuite/ld-x86-64/pr19827-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/pr20253-1b.d
ld/testsuite/ld-x86-64/pr20253-1d.d
ld/testsuite/ld-x86-64/pr20253-1f.d
ld/testsuite/ld-x86-64/pr20253-1h.d
ld/testsuite/ld-x86-64/pr20253-1j.d
ld/testsuite/ld-x86-64/pr20253-1l.d
ld/testsuite/ld-x86-64/pr21884-nacl.d [deleted file]
ld/testsuite/ld-x86-64/pr21884-nacl.t [deleted file]
ld/testsuite/ld-x86-64/pr21884.d
ld/testsuite/ld-x86-64/pr22393-3a.rd
ld/testsuite/ld-x86-64/pr22393-3b.rd
ld/testsuite/ld-x86-64/split-by-file-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlsbin-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlsbin2-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlsdesc-nacl.pd [deleted file]
ld/testsuite/ld-x86-64/tlsdesc-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlsgd10.dd
ld/testsuite/ld-x86-64/tlsgd5.dd
ld/testsuite/ld-x86-64/tlsgd8.dd
ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlspic-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/tlspic2-nacl.rd [deleted file]
ld/testsuite/ld-x86-64/x86-64.exp

index 80a800f4b41db5f09c30b755b4f93deb0f9bed78..fa4799a6bcc4af17e264acfcc3ae1e3da4472747 100644 (file)
@@ -1,3 +1,42 @@
+2020-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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.
+
 2020-06-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Call
index 1544b7b483377849f29c8c6935f9c6d25f401220..551ec8732f00189dc5f4e13ef963cc077e589739 100644 (file)
@@ -211,10 +211,6 @@ DESCRIPTION
 .  bfd_arch_k1om,      {* Intel K1OM.  *}
 .#define bfd_mach_k1om                 (1 << 6)
 .#define bfd_mach_k1om_intel_syntax    (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
-.#define bfd_mach_i386_nacl            (1 << 7)
-.#define bfd_mach_i386_i386_nacl       (bfd_mach_i386_i386 | bfd_mach_i386_nacl)
-.#define bfd_mach_x86_64_nacl          (bfd_mach_x86_64 | bfd_mach_i386_nacl)
-.#define bfd_mach_x64_32_nacl          (bfd_mach_x64_32 | bfd_mach_i386_nacl)
 .  bfd_arch_iamcu,     {* Intel MCU.  *}
 .#define bfd_mach_iamcu                        (1 << 8)
 .#define bfd_mach_i386_iamcu           (bfd_mach_i386_i386 | bfd_mach_iamcu)
index fc3ed0c748db860ca927467a69a47bc68aa15850..35ef4d755bb180d37e5d2a4adfa8adf342d2473f 100644 (file)
@@ -1611,10 +1611,6 @@ enum bfd_architecture
   bfd_arch_k1om,      /* Intel K1OM.  */
 #define bfd_mach_k1om                  (1 << 6)
 #define bfd_mach_k1om_intel_syntax     (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
-#define bfd_mach_i386_nacl             (1 << 7)
-#define bfd_mach_i386_i386_nacl        (bfd_mach_i386_i386 | bfd_mach_i386_nacl)
-#define bfd_mach_x86_64_nacl           (bfd_mach_x86_64 | bfd_mach_i386_nacl)
-#define bfd_mach_x64_32_nacl           (bfd_mach_x64_32 | bfd_mach_i386_nacl)
   bfd_arch_iamcu,     /* Intel MCU.  */
 #define bfd_mach_iamcu                 (1 << 8)
 #define bfd_mach_i386_iamcu            (bfd_mach_i386_i386 | bfd_mach_iamcu)
index e19e4b37487205b9706d7e1af55fad6267793c48..2fa2acb8a32231f5633d61ea8c0a88f68fc6bed9 100644 (file)
@@ -339,15 +339,11 @@ case "${targ}" in
     ;;
   arm-*-nacl*)
     targ_defvec=arm_elf32_nacl_le_vec
-    targ_selvecs="arm_elf32_nacl_be_vec i386_elf32_nacl_vec"
-    targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec"
-    targ_archs="$targ_archs bfd_i386_arch"
+    targ_selvecs="arm_elf32_nacl_be_vec"
     ;;
   armeb-*-nacl*)
     targ_defvec=arm_elf32_nacl_be_vec
-    targ_selvecs="arm_elf32_nacl_le_vec i386_elf32_nacl_vec"
-    targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec"
-    targ_archs="$targ_archs bfd_i386_arch"
+    targ_selvecs="arm_elf32_nacl_le_vec"
     ;;
   armeb-*-netbsdelf*)
     targ_defvec=arm_elf32_be_vec
@@ -635,12 +631,6 @@ case "${targ}" in
     targ_selvecs="iamcu_elf32_vec i386_pei_vec"
     targ64_selvecs="x86_64_elf64_vec x86_64_elf32_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
     ;;
-  i[3-7]86-*-nacl*)
-    targ_defvec=i386_elf32_nacl_vec
-    targ_selvecs="arm_elf32_nacl_be_vec arm_elf32_nacl_le_vec"
-    targ64_selvecs="x86_64_elf64_nacl_vec x86_64_elf32_nacl_vec"
-    targ_archs="$targ_archs bfd_arm_arch"
-    ;;
   i[3-7]86-*-redox*)
     targ_defvec=i386_elf32_vec
     targ_selvecs=
@@ -691,12 +681,6 @@ case "${targ}" in
     targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
-  x86_64-*-nacl*)
-    targ_defvec=x86_64_elf32_nacl_vec
-    targ_selvecs="i386_elf32_nacl_vec x86_64_elf64_nacl_vec arm_elf32_nacl_be_vec arm_elf32_nacl_le_vec"
-    targ_archs="$targ_archs bfd_arm_arch"
-    want64=true
-    ;;
   x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin)
     targ_defvec=x86_64_pe_vec
     targ_selvecs="x86_64_pe_vec x86_64_pei_vec x86_64_pe_big_vec x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec"
index c8267514ea744e2862e186d49648d24bfd51c6b6..155c8bd6d7c86dad2aa4c440874fb3dff2536aaf 100755 (executable)
@@ -14697,7 +14697,7 @@ coff="cofflink.lo $coffgen"
 ecoff="ecofflink.lo $coffgen"
 xcoff="xcofflink.lo $coffgen"
 
-elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo"
+elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
 for vec in $selvecs
 do
     target_size=32
@@ -14782,7 +14782,6 @@ do
     i386_coff_lynx_vec)                 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
     i386_elf32_vec)             tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_elf32_fbsd_vec)        tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
-    i386_elf32_nacl_vec)        tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_elf32_sol2_vec)        tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_elf32_vxworks_vec)     tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_mach_o_vec)            tb="$tb mach-o-i386.lo" ;;
     ia64_pei_vec)               tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
     ip2k_elf32_vec)             tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
     iq2000_elf32_vec)           tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
-    k1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    k1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    l1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    l1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    l1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    l1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
     lm32_elf32_vec)             tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
     lm32_elf32_fdpic_vec)       tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
     m32c_elf32_vec)             tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
     x86_64_coff_vec)            tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
     x86_64_elf32_vec)           tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
-    x86_64_elf32_nacl_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
     x86_64_elf64_vec)           tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_elf64_cloudabi_vec)  tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_elf64_fbsd_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
-    x86_64_elf64_nacl_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_elf64_sol2_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_mach_o_vec)          tb="$tb mach-o-x86-64.lo" ;;
     x86_64_pe_vec)              tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
index 1b67cb6caca6cdac2b9fb08c753833461f011638..8e86f8399ce0bd366d18416aed09ec425f1217d2 100644 (file)
@@ -433,7 +433,7 @@ coff="cofflink.lo $coffgen"
 ecoff="ecofflink.lo $coffgen"
 xcoff="xcofflink.lo $coffgen"
 
-elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo"
+elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
 for vec in $selvecs
 do
     target_size=32
@@ -518,7 +518,6 @@ do
     i386_coff_lynx_vec)                 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
     i386_elf32_vec)             tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_elf32_fbsd_vec)        tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
-    i386_elf32_nacl_vec)        tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_elf32_sol2_vec)        tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_elf32_vxworks_vec)     tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
     i386_mach_o_vec)            tb="$tb mach-o-i386.lo" ;;
@@ -536,10 +535,10 @@ do
     ia64_pei_vec)               tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
     ip2k_elf32_vec)             tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
     iq2000_elf32_vec)           tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
-    k1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    k1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    l1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    l1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    l1om_elf64_vec)             tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    l1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
     lm32_elf32_vec)             tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
     lm32_elf32_fdpic_vec)       tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
     m32c_elf32_vec)             tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
@@ -699,11 +698,9 @@ do
     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
     x86_64_coff_vec)            tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
     x86_64_elf32_vec)           tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
-    x86_64_elf32_nacl_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
     x86_64_elf64_vec)           tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_elf64_cloudabi_vec)  tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_elf64_fbsd_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
-    x86_64_elf64_nacl_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_elf64_sol2_vec)      tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
     x86_64_mach_o_vec)          tb="$tb mach-o-x86-64.lo" ;;
     x86_64_pe_vec)              tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
index 962252d4431fb4ca5c2fc29e5eb92f3cfb29bc09..7b644c23351eddda5a30522907243c2305720a4b 100644 (file)
@@ -117,19 +117,6 @@ bfd_arch_i386_long_nop_fill (bfd_size_type count,
   return bfd_arch_i386_fill (count, code, TRUE);
 }
 
-/* Fill the buffer with zero, or one-byte nop instructions if CODE is TRUE.  */
-
-static void *
-bfd_arch_i386_onebyte_nop_fill (bfd_size_type count,
-                               bfd_boolean is_bigendian ATTRIBUTE_UNUSED,
-                               bfd_boolean code)
-{
-  void *fill = bfd_malloc (count);
-  if (fill != NULL)
-    memset (fill, code ? 0x90 : 0, count);
-  return fill;
-}
-
 #define N(BITS, MACH, NAME, PRINT, DEF, FILL, NEXT)    \
   { BITS, /* Bits in a word.  */               \
     BITS, /* Bits in an address.  */           \
@@ -148,22 +135,9 @@ bfd_arch_i386_onebyte_nop_fill (bfd_size_type count,
   }
 
 
-static const bfd_arch_info_type bfd_x64_32_nacl_arch =
-  N (64, bfd_mach_x64_32_nacl, "i386", "i386:x64-32:nacl",
-     FALSE, bfd_arch_i386_onebyte_nop_fill, NULL);
-
-static const bfd_arch_info_type bfd_x86_64_nacl_arch =
-  N (64, bfd_mach_x86_64_nacl, "i386", "i386:x86-64:nacl",
-     FALSE, bfd_arch_i386_onebyte_nop_fill, &bfd_x64_32_nacl_arch);
-
-const bfd_arch_info_type bfd_i386_nacl_arch =
-  N (32, bfd_mach_i386_i386_nacl, "i386", "i386:nacl",
-     TRUE, bfd_arch_i386_onebyte_nop_fill, &bfd_x86_64_nacl_arch);
-
-
 static const bfd_arch_info_type bfd_x64_32_arch_intel_syntax =
   N (64, bfd_mach_x64_32_intel_syntax, "i386:intel", "i386:x64-32:intel",
-     FALSE, bfd_arch_i386_long_nop_fill, &bfd_i386_nacl_arch);
+     FALSE, bfd_arch_i386_long_nop_fill, NULL);
 
 static const bfd_arch_info_type bfd_x86_64_arch_intel_syntax =
   N (64, bfd_mach_x86_64_intel_syntax, "i386:intel", "i386:x86-64:intel",
index 6f4f7f47186ce5cef8078b44313c1d183755c2d6..9045340cc1228276cb48f7ff9d9284e56b3cab1b 100644 (file)
@@ -19,7 +19,6 @@
    MA 02110-1301, USA.  */
 
 #include "elfxx-x86.h"
-#include "elf-nacl.h"
 #include "elf-vxworks.h"
 #include "dwarf2.h"
 #include "opcode/i386.h"
@@ -4098,9 +4097,6 @@ elf_i386_output_arch_local_syms
   return TRUE;
 }
 
-/* Forward declaration.  */
-static const struct elf_x86_lazy_plt_layout elf_i386_nacl_plt;
-
 /* Similar to _bfd_elf_get_synthetic_symtab.  Support PLTs with all
    dynamic relocations.   */
 
@@ -4159,9 +4155,6 @@ elf_i386_get_synthetic_symtab (bfd *abfd,
     case is_vxworks:
       lazy_plt = &elf_i386_lazy_plt;
       break;
-    case is_nacl:
-      lazy_plt = &elf_i386_nacl_plt;
-      break;
     default:
       abort ();
     }
@@ -4327,13 +4320,6 @@ elf_i386_link_setup_gnu_properties (struct bfd_link_info *info)
       init_table.lazy_ibt_plt = NULL;
       init_table.non_lazy_ibt_plt = NULL;
       break;
-    case is_nacl:
-      init_table.plt0_pad_byte = 0x90;
-      init_table.lazy_plt = &elf_i386_nacl_plt;
-      init_table.non_lazy_plt = NULL;
-      init_table.lazy_ibt_plt = NULL;
-      init_table.non_lazy_ibt_plt = NULL;
-      break;
     default:
       abort ();
     }
@@ -4591,196 +4577,6 @@ elf32_iamcu_elf_object_p (bfd *abfd)
 #undef ELF_MACHINE_CODE
 #define ELF_MACHINE_CODE               EM_386
 
-/* Native Client support.  */
-
-#undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               i386_elf32_nacl_vec
-#undef TARGET_LITTLE_NAME
-#define        TARGET_LITTLE_NAME              "elf32-i386-nacl"
-#undef elf32_bed
-#define        elf32_bed                       elf32_i386_nacl_bed
-
-#undef ELF_MAXPAGESIZE
-#define        ELF_MAXPAGESIZE                 0x10000
-
-/* Restore defaults.  */
-#undef ELF_OSABI
-#undef elf_backend_want_plt_sym
-#define elf_backend_want_plt_sym       0
-#undef elf_backend_static_tls_alignment
-
-/* NaCl uses substantially different PLT entries for the same effects.  */
-
-#undef elf_backend_plt_alignment
-#define elf_backend_plt_alignment      5
-#define NACL_PLT_ENTRY_SIZE            64
-#define        NACLMASK                        0xe0 /* 32-byte alignment mask.  */
-
-static const bfd_byte elf_i386_nacl_plt0_entry[] =
-  {
-    0xff, 0x35,                          /* pushl contents of address */
-    0, 0, 0, 0,                          /* replaced with address of .got + 4.  */
-    0x8b, 0x0d,                          /* movl contents of address, %ecx */
-    0, 0, 0, 0,                          /* replaced with address of .got + 8.  */
-    0x83, 0xe1, NACLMASK,        /* andl $NACLMASK, %ecx */
-    0xff, 0xe1                   /* jmp *%ecx */
-  };
-
-static const bfd_byte elf_i386_nacl_plt_entry[NACL_PLT_ENTRY_SIZE] =
-  {
-    0x8b, 0x0d,                                /* movl contents of address, %ecx */
-    0, 0, 0, 0,                                /* replaced with GOT slot address.  */
-    0x83, 0xe1, NACLMASK,              /* andl $NACLMASK, %ecx */
-    0xff, 0xe1,                                /* jmp *%ecx */
-
-    /* Pad to the next 32-byte boundary with nop instructions.  */
-    0x90,
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-
-    /* Lazy GOT entries point here (32-byte aligned).  */
-    0x68,                             /* pushl immediate */
-    0, 0, 0, 0,                               /* replaced with reloc offset.  */
-    0xe9,                             /* jmp relative */
-    0, 0, 0, 0,                               /* replaced with offset to .plt.  */
-
-    /* Pad to the next 32-byte boundary with nop instructions.  */
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-    0x90, 0x90
-  };
-
-static const bfd_byte
-elf_i386_nacl_pic_plt0_entry[sizeof (elf_i386_nacl_plt0_entry)] =
-  {
-    0xff, 0x73, 0x04,          /* pushl 4(%ebx) */
-    0x8b, 0x4b, 0x08,          /* mov 0x8(%ebx), %ecx */
-    0x83, 0xe1, 0xe0,          /* and $NACLMASK, %ecx */
-    0xff, 0xe1,                        /* jmp *%ecx */
-
-    /* This is expected to be the same size as elf_i386_nacl_plt0_entry,
-       so pad to that size with nop instructions.  */
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90
-  };
-
-static const bfd_byte elf_i386_nacl_pic_plt_entry[NACL_PLT_ENTRY_SIZE] =
-  {
-    0x8b, 0x8b,                 /* movl offset(%ebx), %ecx */
-    0, 0, 0, 0,                 /* replaced with offset of this symbol in .got.  */
-    0x83, 0xe1, 0xe0,   /* andl $NACLMASK, %ecx */
-    0xff, 0xe1,                 /* jmp *%ecx */
-
-    /* Pad to the next 32-byte boundary with nop instructions.  */
-    0x90,
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-
-    /* Lazy GOT entries point here (32-byte aligned).  */
-    0x68,               /* pushl immediate */
-    0, 0, 0, 0,                 /* replaced with offset into relocation table.  */
-    0xe9,               /* jmp relative */
-    0, 0, 0, 0,                 /* replaced with offset to start of .plt.  */
-
-    /* Pad to the next 32-byte boundary with nop instructions.  */
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-    0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
-    0x90, 0x90
-  };
-
-static const bfd_byte elf_i386_nacl_eh_frame_plt[] =
-  {
-#if (PLT_CIE_LENGTH != 20                              \
-     || PLT_FDE_LENGTH != 36                           \
-     || PLT_FDE_START_OFFSET != 4 + PLT_CIE_LENGTH + 8 \
-     || PLT_FDE_LEN_OFFSET != 4 + PLT_CIE_LENGTH + 12)
-# error "Need PLT_CIE_LENGTH parameters for eh_frame_plt offsets!"
-#endif
-    PLT_CIE_LENGTH, 0, 0, 0,           /* CIE length */
-    0, 0, 0, 0,                                /* CIE ID */
-    1,                                 /* CIE version */
-    'z', 'R', 0,                       /* Augmentation string */
-    1,                                 /* Code alignment factor */
-    0x7c,                              /* Data alignment factor: -4 */
-    8,                                 /* Return address column */
-    1,                                 /* Augmentation size */
-    DW_EH_PE_pcrel | DW_EH_PE_sdata4,  /* FDE encoding */
-    DW_CFA_def_cfa, 4, 4,              /* DW_CFA_def_cfa: r4 (esp) ofs 4 */
-    DW_CFA_offset + 8, 1,              /* DW_CFA_offset: r8 (eip) at cfa-4 */
-    DW_CFA_nop, DW_CFA_nop,
-
-    PLT_FDE_LENGTH, 0, 0, 0,    /* FDE length */
-    PLT_CIE_LENGTH + 8, 0, 0, 0, /* CIE pointer */
-    0, 0, 0, 0,                         /* R_386_PC32 .plt goes here */
-    0, 0, 0, 0,                         /* .plt size goes here */
-    0,                          /* Augmentation size */
-    DW_CFA_def_cfa_offset, 8,   /* DW_CFA_def_cfa_offset: 8 */
-    DW_CFA_advance_loc + 6,     /* DW_CFA_advance_loc: 6 to __PLT__+6 */
-    DW_CFA_def_cfa_offset, 12,  /* DW_CFA_def_cfa_offset: 12 */
-    DW_CFA_advance_loc + 58,    /* DW_CFA_advance_loc: 58 to __PLT__+64 */
-    DW_CFA_def_cfa_expression,  /* DW_CFA_def_cfa_expression */
-    13,                                 /* Block length */
-    DW_OP_breg4, 4,             /* DW_OP_breg4 (esp): 4 */
-    DW_OP_breg8, 0,             /* DW_OP_breg8 (eip): 0 */
-    DW_OP_const1u, 63, DW_OP_and, DW_OP_const1u, 37, DW_OP_ge,
-    DW_OP_lit2, DW_OP_shl, DW_OP_plus,
-    DW_CFA_nop, DW_CFA_nop
-  };
-
-static const struct elf_x86_lazy_plt_layout elf_i386_nacl_plt =
-  {
-    elf_i386_nacl_plt0_entry,          /* plt0_entry */
-    sizeof (elf_i386_nacl_plt0_entry), /* plt0_entry_size */
-    elf_i386_nacl_plt_entry,           /* plt_entry */
-    NACL_PLT_ENTRY_SIZE,               /* plt_entry_size */
-    NULL,                              /* plt_tlsdesc_entry */
-    0,                                 /* plt_tlsdesc_entry_size*/
-    0,                                 /* plt_tlsdesc_got1_offset */
-    0,                                 /* plt_tlsdesc_got2_offset */
-    0,                                 /* plt_tlsdesc_got1_insn_end */
-    0,                                 /* plt_tlsdesc_got2_insn_end */
-    2,                                 /* plt0_got1_offset */
-    8,                                 /* plt0_got2_offset */
-    0,                                 /* plt0_got2_insn_end */
-    2,                                 /* plt_got_offset */
-    33,                                        /* plt_reloc_offset */
-    38,                                        /* plt_plt_offset */
-    0,                                 /* plt_got_insn_size */
-    0,                                 /* plt_plt_insn_end */
-    32,                                        /* plt_lazy_offset */
-    elf_i386_nacl_pic_plt0_entry,      /* pic_plt0_entry */
-    elf_i386_nacl_pic_plt_entry,       /* pic_plt_entry */
-    elf_i386_nacl_eh_frame_plt,                /* eh_frame_plt */
-    sizeof (elf_i386_nacl_eh_frame_plt) /* eh_frame_plt_size */
-  };
-
-static bfd_boolean
-elf32_i386_nacl_elf_object_p (bfd *abfd)
-{
-  /* Set the right machine number for a NaCl i386 ELF32 file.  */
-  bfd_default_set_arch_mach (abfd, bfd_arch_i386, bfd_mach_i386_i386_nacl);
-  return TRUE;
-}
-
-#undef ELF_TARGET_OS
-#define ELF_TARGET_OS          is_nacl
-
-#undef elf_backend_object_p
-#define elf_backend_object_p                   elf32_i386_nacl_elf_object_p
-#undef elf_backend_modify_segment_map
-#define        elf_backend_modify_segment_map          nacl_modify_segment_map
-#undef elf_backend_modify_headers
-#define        elf_backend_modify_headers              nacl_modify_headers
-#undef elf_backend_final_write_processing
-#define elf_backend_final_write_processing     nacl_final_write_processing
-
-#include "elf32-target.h"
-
-/* Restore defaults.  */
-#undef elf_backend_object_p
-#undef elf_backend_modify_segment_map
-#undef elf_backend_modify_headers
-#undef elf_backend_final_write_processing
-
 /* VxWorks support.  */
 
 #undef TARGET_LITTLE_SYM
index 8562f33fb8665cd776e081cdcfb9ff0c7237f266..311fb28a905df619c2538ffa6308bdeeae67eca7 100644 (file)
@@ -20,7 +20,6 @@
    MA 02110-1301, USA.  */
 
 #include "elfxx-x86.h"
-#include "elf-nacl.h"
 #include "dwarf2.h"
 #include "libiberty.h"
 
@@ -4744,9 +4743,6 @@ elf_x86_64_output_arch_local_syms
   return TRUE;
 }
 
-/* Forward declaration.  */
-static const struct elf_x86_lazy_plt_layout elf_x86_64_nacl_plt;
-
 /* Similar to _bfd_elf_get_synthetic_symtab.  Support PLTs with all
    dynamic relocations.   */
 
@@ -4791,31 +4787,19 @@ elf_x86_64_get_synthetic_symtab (bfd *abfd,
   if (relsize <= 0)
     return -1;
 
-  if (get_elf_backend_data (abfd)->target_os != is_nacl)
+  lazy_plt = &elf_x86_64_lazy_plt;
+  non_lazy_plt = &elf_x86_64_non_lazy_plt;
+  lazy_bnd_plt = &elf_x86_64_lazy_bnd_plt;
+  non_lazy_bnd_plt = &elf_x86_64_non_lazy_bnd_plt;
+  if (ABI_64_P (abfd))
     {
-      lazy_plt = &elf_x86_64_lazy_plt;
-      non_lazy_plt = &elf_x86_64_non_lazy_plt;
-      lazy_bnd_plt = &elf_x86_64_lazy_bnd_plt;
-      non_lazy_bnd_plt = &elf_x86_64_non_lazy_bnd_plt;
-      if (ABI_64_P (abfd))
-       {
-         lazy_ibt_plt = &elf_x86_64_lazy_ibt_plt;
-         non_lazy_ibt_plt = &elf_x86_64_non_lazy_ibt_plt;
-       }
-      else
-       {
-         lazy_ibt_plt = &elf_x32_lazy_ibt_plt;
-         non_lazy_ibt_plt = &elf_x32_non_lazy_ibt_plt;
-       }
+      lazy_ibt_plt = &elf_x86_64_lazy_ibt_plt;
+      non_lazy_ibt_plt = &elf_x86_64_non_lazy_ibt_plt;
     }
   else
     {
-      lazy_plt = &elf_x86_64_nacl_plt;
-      non_lazy_plt = NULL;
-      lazy_bnd_plt = NULL;
-      non_lazy_bnd_plt = NULL;
-      lazy_ibt_plt = NULL;
-      non_lazy_ibt_plt = NULL;
+      lazy_ibt_plt = &elf_x32_lazy_ibt_plt;
+      non_lazy_ibt_plt = &elf_x32_non_lazy_ibt_plt;
     }
 
   count = 0;
@@ -5130,6 +5114,8 @@ static bfd *
 elf_x86_64_link_setup_gnu_properties (struct bfd_link_info *info)
 {
   struct elf_x86_init_table init_table;
+  const struct elf_backend_data *bed;
+  struct elf_x86_link_hash_table *htab;
 
   if ((int) R_X86_64_standard >= (int) R_X86_64_converted_reloc_bit
       || (int) R_X86_64_max <= (int) R_X86_64_converted_reloc_bit
@@ -5142,42 +5128,30 @@ elf_x86_64_link_setup_gnu_properties (struct bfd_link_info *info)
   /* This is unused for x86-64.  */
   init_table.plt0_pad_byte = 0x90;
 
-  if (get_elf_backend_data (info->output_bfd)->target_os != is_nacl)
+  bed = get_elf_backend_data (info->output_bfd);
+  htab = elf_x86_hash_table (info, bed->target_id);
+  if (!htab)
+    abort ();
+  if (htab->params->bndplt)
     {
-      const struct elf_backend_data *bed
-       = get_elf_backend_data (info->output_bfd);
-      struct elf_x86_link_hash_table *htab
-       = elf_x86_hash_table (info, bed->target_id);
-      if (!htab)
-       abort ();
-      if (htab->params->bndplt)
-       {
-         init_table.lazy_plt = &elf_x86_64_lazy_bnd_plt;
-         init_table.non_lazy_plt = &elf_x86_64_non_lazy_bnd_plt;
-       }
-      else
-       {
-         init_table.lazy_plt = &elf_x86_64_lazy_plt;
-         init_table.non_lazy_plt = &elf_x86_64_non_lazy_plt;
-       }
+      init_table.lazy_plt = &elf_x86_64_lazy_bnd_plt;
+      init_table.non_lazy_plt = &elf_x86_64_non_lazy_bnd_plt;
+    }
+  else
+    {
+      init_table.lazy_plt = &elf_x86_64_lazy_plt;
+      init_table.non_lazy_plt = &elf_x86_64_non_lazy_plt;
+    }
 
-      if (ABI_64_P (info->output_bfd))
-       {
-         init_table.lazy_ibt_plt = &elf_x86_64_lazy_ibt_plt;
-         init_table.non_lazy_ibt_plt = &elf_x86_64_non_lazy_ibt_plt;
-       }
-      else
-       {
-         init_table.lazy_ibt_plt = &elf_x32_lazy_ibt_plt;
-         init_table.non_lazy_ibt_plt = &elf_x32_non_lazy_ibt_plt;
-       }
+  if (ABI_64_P (info->output_bfd))
+    {
+      init_table.lazy_ibt_plt = &elf_x86_64_lazy_ibt_plt;
+      init_table.non_lazy_ibt_plt = &elf_x86_64_non_lazy_ibt_plt;
     }
   else
     {
-      init_table.lazy_plt = &elf_x86_64_nacl_plt;
-      init_table.non_lazy_plt = NULL;
-      init_table.lazy_ibt_plt = NULL;
-      init_table.non_lazy_ibt_plt = NULL;
+      init_table.lazy_ibt_plt = &elf_x32_lazy_ibt_plt;
+      init_table.non_lazy_ibt_plt = &elf_x32_non_lazy_ibt_plt;
     }
 
   if (ABI_64_P (info->output_bfd))
@@ -5364,30 +5338,6 @@ elf64_x86_64_copy_solaris_special_section_fields (const bfd *ibfd ATTRIBUTE_UNUS
 
 #include "elf64-target.h"
 
-/* Native Client support.  */
-
-static bfd_boolean
-elf64_x86_64_nacl_elf_object_p (bfd *abfd)
-{
-  /* Set the right machine number for a NaCl x86-64 ELF64 file.  */
-  bfd_default_set_arch_mach (abfd, bfd_arch_i386, bfd_mach_x86_64_nacl);
-  return TRUE;
-}
-
-#undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               x86_64_elf64_nacl_vec
-#undef TARGET_LITTLE_NAME
-#define        TARGET_LITTLE_NAME              "elf64-x86-64-nacl"
-#undef elf64_bed
-#define        elf64_bed                       elf64_x86_64_nacl_bed
-
-#undef ELF_MAXPAGESIZE
-#undef ELF_MINPAGESIZE
-#undef ELF_COMMONPAGESIZE
-#define ELF_MAXPAGESIZE                        0x10000
-#define ELF_MINPAGESIZE                        0x10000
-#define ELF_COMMONPAGESIZE             0x10000
-
 /* Restore defaults.  */
 #undef ELF_OSABI
 #undef elf_backend_static_tls_alignment
@@ -5396,188 +5346,6 @@ elf64_x86_64_nacl_elf_object_p (bfd *abfd)
 #undef  elf_backend_strtab_flags
 #undef  elf_backend_copy_special_section_fields
 
-/* NaCl uses substantially different PLT entries for the same effects.  */
-
-#undef elf_backend_plt_alignment
-#define elf_backend_plt_alignment      5
-#define NACL_PLT_ENTRY_SIZE            64
-#define        NACLMASK                        0xe0 /* 32-byte alignment mask.  */
-
-static const bfd_byte elf_x86_64_nacl_plt0_entry[NACL_PLT_ENTRY_SIZE] =
-  {
-    0xff, 0x35, 8, 0, 0, 0,            /* pushq GOT+8(%rip)            */
-    0x4c, 0x8b, 0x1d, 16, 0, 0, 0,     /* mov GOT+16(%rip), %r11       */
-    0x41, 0x83, 0xe3, NACLMASK,                /* and $-32, %r11d              */
-    0x4d, 0x01, 0xfb,                  /* add %r15, %r11               */
-    0x41, 0xff, 0xe3,                  /* jmpq *%r11                   */
-
-    /* 9-byte nop sequence to pad out to the next 32-byte boundary.  */
-    0x66, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw 0x0(%rax,%rax,1)    */
-
-    /* 32 bytes of nop to pad out to the standard size.  */
-    0x66, 0x66, 0x66, 0x66, 0x66, 0x66,    /* excess data16 prefixes   */
-    0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)        */
-    0x66, 0x66, 0x66, 0x66, 0x66, 0x66,    /* excess data16 prefixes   */
-    0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)        */
-    0x66,                                 /* excess data16 prefix      */
-    0x90                                  /* nop */
-  };
-
-static const bfd_byte elf_x86_64_nacl_plt_entry[NACL_PLT_ENTRY_SIZE] =
-  {
-    0x4c, 0x8b, 0x1d, 0, 0, 0, 0,      /* mov name@GOTPCREL(%rip),%r11 */
-    0x41, 0x83, 0xe3, NACLMASK,                /* and $-32, %r11d              */
-    0x4d, 0x01, 0xfb,                  /* add %r15, %r11               */
-    0x41, 0xff, 0xe3,                  /* jmpq *%r11                   */
-
-    /* 15-byte nop sequence to pad out to the next 32-byte boundary.  */
-    0x66, 0x66, 0x66, 0x66, 0x66, 0x66,    /* excess data16 prefixes   */
-    0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)        */
-
-    /* Lazy GOT entries point here (32-byte aligned).  */
-    0x68,                /* pushq immediate */
-    0, 0, 0, 0,                  /* replaced with index into relocation table.  */
-    0xe9,                /* jmp relative */
-    0, 0, 0, 0,                  /* replaced with offset to start of .plt0.  */
-
-    /* 22 bytes of nop to pad out to the standard size.         */
-    0x66, 0x66, 0x66, 0x66, 0x66, 0x66,    /* excess data16 prefixes   */
-    0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)        */
-    0x0f, 0x1f, 0x80, 0, 0, 0, 0,         /* nopl 0x0(%rax)            */
-  };
-
-/* .eh_frame covering the .plt section.  */
-
-static const bfd_byte elf_x86_64_nacl_eh_frame_plt[] =
-  {
-#if (PLT_CIE_LENGTH != 20                              \
-     || PLT_FDE_LENGTH != 36                           \
-     || PLT_FDE_START_OFFSET != 4 + PLT_CIE_LENGTH + 8 \
-     || PLT_FDE_LEN_OFFSET != 4 + PLT_CIE_LENGTH + 12)
-# error "Need PLT_CIE_LENGTH parameters for eh_frame_plt offsets!"
-#endif
-    PLT_CIE_LENGTH, 0, 0, 0,   /* CIE length */
-    0, 0, 0, 0,                        /* CIE ID */
-    1,                         /* CIE version */
-    'z', 'R', 0,               /* Augmentation string */
-    1,                         /* Code alignment factor */
-    0x78,                      /* Data alignment factor */
-    16,                                /* Return address column */
-    1,                         /* Augmentation size */
-    DW_EH_PE_pcrel | DW_EH_PE_sdata4, /* FDE encoding */
-    DW_CFA_def_cfa, 7, 8,      /* DW_CFA_def_cfa: r7 (rsp) ofs 8 */
-    DW_CFA_offset + 16, 1,     /* DW_CFA_offset: r16 (rip) at cfa-8 */
-    DW_CFA_nop, DW_CFA_nop,
-
-    PLT_FDE_LENGTH, 0, 0, 0,   /* FDE length */
-    PLT_CIE_LENGTH + 8, 0, 0, 0,/* CIE pointer */
-    0, 0, 0, 0,                        /* R_X86_64_PC32 .plt goes here */
-    0, 0, 0, 0,                        /* .plt size goes here */
-    0,                         /* Augmentation size */
-    DW_CFA_def_cfa_offset, 16, /* DW_CFA_def_cfa_offset: 16 */
-    DW_CFA_advance_loc + 6,    /* DW_CFA_advance_loc: 6 to __PLT__+6 */
-    DW_CFA_def_cfa_offset, 24, /* DW_CFA_def_cfa_offset: 24 */
-    DW_CFA_advance_loc + 58,   /* DW_CFA_advance_loc: 58 to __PLT__+64 */
-    DW_CFA_def_cfa_expression, /* DW_CFA_def_cfa_expression */
-    13,                                /* Block length */
-    DW_OP_breg7, 8,            /* DW_OP_breg7 (rsp): 8 */
-    DW_OP_breg16, 0,           /* DW_OP_breg16 (rip): 0 */
-    DW_OP_const1u, 63, DW_OP_and, DW_OP_const1u, 37, DW_OP_ge,
-    DW_OP_lit3, DW_OP_shl, DW_OP_plus,
-    DW_CFA_nop, DW_CFA_nop
-  };
-
-static const struct elf_x86_lazy_plt_layout elf_x86_64_nacl_plt =
-  {
-    elf_x86_64_nacl_plt0_entry,                     /* plt0_entry */
-    NACL_PLT_ENTRY_SIZE,                    /* plt0_entry_size */
-    elf_x86_64_nacl_plt_entry,              /* plt_entry */
-    NACL_PLT_ENTRY_SIZE,                    /* plt_entry_size */
-    elf_x86_64_nacl_plt0_entry,                     /* plt_tlsdesc_entry */
-    NACL_PLT_ENTRY_SIZE,                    /* plt_tlsdesc_entry_size */
-    2,                                      /* plt_tlsdesc_got1_offset */
-    9,                                      /* plt_tlsdesc_got2_offset */
-    6,                                      /* plt_tlsdesc_got1_insn_end */
-    13,                                             /* plt_tlsdesc_got2_insn_end */
-    2,                                      /* plt0_got1_offset */
-    9,                                      /* plt0_got2_offset */
-    13,                                             /* plt0_got2_insn_end */
-    3,                                      /* plt_got_offset */
-    33,                                             /* plt_reloc_offset */
-    38,                                             /* plt_plt_offset */
-    7,                                      /* plt_got_insn_size */
-    42,                                             /* plt_plt_insn_end */
-    32,                                             /* plt_lazy_offset */
-    elf_x86_64_nacl_plt0_entry,                     /* pic_plt0_entry */
-    elf_x86_64_nacl_plt_entry,              /* pic_plt_entry */
-    elf_x86_64_nacl_eh_frame_plt,           /* eh_frame_plt */
-    sizeof (elf_x86_64_nacl_eh_frame_plt)    /* eh_frame_plt_size */
-  };
-
-#undef ELF_TARGET_OS
-#define        ELF_TARGET_OS                           is_nacl
-
-#undef elf_backend_object_p
-#define elf_backend_object_p                   elf64_x86_64_nacl_elf_object_p
-#undef elf_backend_modify_segment_map
-#define        elf_backend_modify_segment_map          nacl_modify_segment_map
-#undef elf_backend_modify_headers
-#define        elf_backend_modify_headers              nacl_modify_headers
-#undef elf_backend_final_write_processing
-#define elf_backend_final_write_processing     nacl_final_write_processing
-
-#include "elf64-target.h"
-
-/* Native Client x32 support.  */
-
-static bfd_boolean
-elf32_x86_64_nacl_elf_object_p (bfd *abfd)
-{
-  /* Set the right machine number for a NaCl x86-64 ELF32 file.  */
-  bfd_default_set_arch_mach (abfd, bfd_arch_i386, bfd_mach_x64_32_nacl);
-  return TRUE;
-}
-
-#undef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM              x86_64_elf32_nacl_vec
-#undef TARGET_LITTLE_NAME
-#define TARGET_LITTLE_NAME             "elf32-x86-64-nacl"
-#undef elf32_bed
-#define        elf32_bed                       elf32_x86_64_nacl_bed
-
-#define bfd_elf32_bfd_reloc_type_lookup        \
-  elf_x86_64_reloc_type_lookup
-#define bfd_elf32_bfd_reloc_name_lookup \
-  elf_x86_64_reloc_name_lookup
-#define bfd_elf32_get_synthetic_symtab \
-  elf_x86_64_get_synthetic_symtab
-
-#undef elf_backend_object_p
-#define elf_backend_object_p \
-  elf32_x86_64_nacl_elf_object_p
-
-#undef elf_backend_bfd_from_remote_memory
-#define elf_backend_bfd_from_remote_memory \
-  _bfd_elf32_bfd_from_remote_memory
-
-#undef elf_backend_size_info
-#define elf_backend_size_info \
-  _bfd_elf32_size_info
-
-#undef elf32_bed
-#define        elf32_bed                       elf32_x86_64_bed
-
-#include "elf32-target.h"
-
-/* Restore defaults.  */
-#undef elf_backend_object_p
-#define elf_backend_object_p               elf64_x86_64_elf_object_p
-#undef elf_backend_bfd_from_remote_memory
-#undef elf_backend_size_info
-#undef elf_backend_modify_segment_map
-#undef elf_backend_modify_headers
-#undef elf_backend_final_write_processing
-
 /* Intel L1OM support.  */
 
 static bfd_boolean
@@ -5666,11 +5434,6 @@ elf64_k1om_elf_object_p (bfd *abfd)
 #undef elf_backend_object_p
 #define elf_backend_object_p               elf64_k1om_elf_object_p
 
-#undef  elf_backend_static_tls_alignment
-
-#undef elf_backend_want_plt_sym
-#define elf_backend_want_plt_sym           0
-
 #include "elf64-target.h"
 
 /* FreeBSD K1OM support.  */
@@ -5695,6 +5458,7 @@ elf64_k1om_elf_object_p (bfd *abfd)
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf32-x86-64"
 #undef elf32_bed
+#define        elf32_bed                           elf32_x86_64_bed
 
 #undef ELF_ARCH
 #define ELF_ARCH                           bfd_arch_i386
@@ -5704,6 +5468,13 @@ elf64_k1om_elf_object_p (bfd *abfd)
 
 #undef ELF_OSABI
 
+#define bfd_elf32_bfd_reloc_type_lookup        \
+  elf_x86_64_reloc_type_lookup
+#define bfd_elf32_bfd_reloc_name_lookup \
+  elf_x86_64_reloc_name_lookup
+#define bfd_elf32_get_synthetic_symtab \
+  elf_x86_64_get_synthetic_symtab
+
 #undef elf_backend_object_p
 #define elf_backend_object_p \
   elf32_x86_64_elf_object_p
index 5b1793ae8071a17c9b47ef60744946b9f92d7698..e58ddc19cf6201bf426c6ee2ca960a50049de2b6 100644 (file)
@@ -2795,9 +2795,6 @@ _bfd_x86_elf_link_setup_gnu_properties
          htab->interp = s;
        }
 
-      /* Don't change PLT section alignment for NaCl since it uses
-        64-byte PLT entry and sets PLT section alignment to 32
-        bytes.  Don't create additional PLT sections for NaCl.  */
       if (normal_target)
        {
          flagword pltflags = (bed->dynamic_sec_flags
@@ -2831,8 +2828,7 @@ _bfd_x86_elf_link_setup_gnu_properties
              if (use_ibt_plt)
                {
                  /* Create the second PLT for Intel IBT support.  IBT
-                    PLT is supported only for non-NaCl target and is
-                    is needed only for lazy binding.  */
+                    PLT is needed only for lazy binding.  */
                  sec = bfd_make_section_anyway_with_flags (dynobj,
                                                            ".plt.sec",
                                                            pltflags);
@@ -2845,8 +2841,8 @@ _bfd_x86_elf_link_setup_gnu_properties
              else if (htab->params->bndplt && ABI_64_P (dynobj))
                {
                  /* Create the second PLT for Intel MPX support.  MPX
-                    PLT is supported only for non-NaCl target in 64-bit
-                    mode and is needed only for lazy binding.  */
+                    PLT is supported only in 64-bit mode and is needed
+                    only for lazy binding.  */
                  sec = bfd_make_section_anyway_with_flags (dynobj,
                                                            ".plt.sec",
                                                            pltflags);
index d95c0aaf3c3b92473a94205d1f221ddfe4a0e122..0732c5e4292aa04fcf1ed25de113d27c06a5d485 100644 (file)
@@ -736,7 +736,6 @@ extern const bfd_target i386_coff_go32stubbed_vec;
 extern const bfd_target i386_coff_lynx_vec;
 extern const bfd_target i386_elf32_vec;
 extern const bfd_target i386_elf32_fbsd_vec;
-extern const bfd_target i386_elf32_nacl_vec;
 extern const bfd_target i386_elf32_sol2_vec;
 extern const bfd_target i386_elf32_vxworks_vec;
 extern const bfd_target i386_mach_o_vec;
@@ -918,11 +917,9 @@ extern const bfd_target wasm_vec;
 extern const bfd_target wasm32_elf32_vec;
 extern const bfd_target x86_64_coff_vec;
 extern const bfd_target x86_64_elf32_vec;
-extern const bfd_target x86_64_elf32_nacl_vec;
 extern const bfd_target x86_64_elf64_vec;
 extern const bfd_target x86_64_elf64_cloudabi_vec;
 extern const bfd_target x86_64_elf64_fbsd_vec;
-extern const bfd_target x86_64_elf64_nacl_vec;
 extern const bfd_target x86_64_elf64_sol2_vec;
 extern const bfd_target x86_64_mach_o_vec;
 extern const bfd_target x86_64_pe_vec;
@@ -1085,7 +1082,6 @@ static const bfd_target * const _bfd_target_vector[] =
        &i386_coff_lynx_vec,
        &i386_elf32_vec,
        &i386_elf32_fbsd_vec,
-       &i386_elf32_nacl_vec,
        &i386_elf32_sol2_vec,
        &i386_elf32_vxworks_vec,
        &i386_mach_o_vec,
@@ -1335,11 +1331,9 @@ static const bfd_target * const _bfd_target_vector[] =
 #ifdef BFD64
        &x86_64_coff_vec,
        &x86_64_elf32_vec,
-       &x86_64_elf32_nacl_vec,
        &x86_64_elf64_vec,
        &x86_64_elf64_cloudabi_vec,
        &x86_64_elf64_fbsd_vec,
-       &x86_64_elf64_nacl_vec,
        &x86_64_elf64_sol2_vec,
        &x86_64_mach_o_vec,
        &x86_64_pe_vec,
index 2c1ad92aab99f4c1cbb4d5dbac51a11d3e2dd5b6..c37e6f70748f94fac7ee7d4fd453b0f82983a9da 100644 (file)
@@ -1,3 +1,23 @@
+2020-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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.
+
 2020-06-30  Nick Clifton  <nickc@redhat.com>
 
        * dwarf.c (read_and_display_attr_value): Support
index e1aaf996e8992c54558adfe45b2d330efec80cca..b0cc156f88fa6b6473e756b33ae2b2bf32c52cc9 100644 (file)
@@ -1,5 +1,7 @@
 -*- text -*-
 
+* X86 NaCl target support is removed.
+
 * The readelf tool now has a -L or --lint or --enable-checks option which turns
   on warning messages about possible problems with the file(s) being examined.
   These checks include things like zero-sized sections, which are allowed by
index b2dc6fbba7f0c92b110e2d2dc0ede4aeeb79b012..bdabd9c4baa015271916d09a3872fd5b28b36230 100644 (file)
@@ -7639,10 +7639,8 @@ init_dwarf_regnames_by_bfd_arch_and_mach (enum bfd_architecture arch,
        {
        case bfd_mach_x86_64:
        case bfd_mach_x86_64_intel_syntax:
-       case bfd_mach_x86_64_nacl:
        case bfd_mach_x64_32:
        case bfd_mach_x64_32_intel_syntax:
-       case bfd_mach_x64_32_nacl:
          init_dwarf_regnames_x86_64 ();
          break;
 
index d917e561347300c872ac5498b729a29b1bb15f4e..629af163c0976e2509841ecd46e8fdb1e62a2fae 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -h
 #name: Update ELF header 1
 #target: x86_64-*-*
-#notarget: x86_64-*-gnux32 x86_64-*-nacl*
+#notarget: x86_64-*-gnux32
 
 #...
 ELF Header:
index 1ec07fb461c90b8ecb40f7ad373de9a86163acde..1b2875cf5af5d51f078bda018f2a23d14621673f 100644 (file)
@@ -16,9 +16,7 @@
 
 if {!([istarget "i*86-*-linux*"]
       || [istarget "i*86-*-gnu*"]
-      || [istarget "i*86-*-nacl*"]
-      || [istarget "x86_64-*-linux*"]
-      || [istarget "x86_64-*-nacl*"])
+      || [istarget "x86_64-*-linux*"])
     || ![is_elf_format]
     || [is_remote host]} then {
     return
index 338f1d73665e7575159ca2687441c85b9bcce866..88fa240a77ff89c08e384f285d462ffdf7e47bdb 100644 (file)
@@ -16,9 +16,7 @@
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
-if {!([istarget "x86_64-*-linux*"]
-      || [istarget "x86_64-*-nacl*"])
-    || [is_remote host]} {
+if {![istarget "x86_64-*-linux*"] || [is_remote host]} {
     return
 }
 
index 3c255d8bb4f58e71b1da6871fa3a907340286a2b..819551725ca5ab2cd533c418d6cdb0490d8c9adf 100644 (file)
@@ -3,7 +3,6 @@
 #as: --x32 -mx86-used-note=yes
 #objcopy: -O elf64-x86-64
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index 457fd4e2c1fb1781f776f4b5184eac8b2ffb4fd2..906273331d3b171a21eb4e30540a24aed4856581 100644 (file)
@@ -3,7 +3,6 @@
 #as: --64 -defsym __64_bit__=1 -mx86-used-note=yes
 #objcopy: -O elf32-x86-64
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index 40a23c050d369c83e4ffa0742c6ae8e1175cca50..e8ef006037c88780900682850df41cef39ff67a8 100644 (file)
@@ -3,4 +3,3 @@
 #as: --x32 -mx86-used-note=yes
 #objcopy: -O elf64-x86-64 -R .note.gnu.property
 #readelf: -n
-#notarget: x86_64-*-nacl*
index 74b0bc198134a7827ce54172974ad87fff454f91..55c300ac4d7899b39c9283740a7c8f6393c8098e 100644 (file)
@@ -3,4 +3,3 @@
 #as: --64 -defsym __64_bit__=1 -mx86-used-note=yes
 #objcopy: -O elf32-x86-64 -R .note.gnu.property
 #readelf: -n
-#notarget: x86_64-*-nacl*
index a11a3fbde050611a4acf96275eb679bd50bea496..188705b18ace72a87a23893e673bec10e3649fab 100644 (file)
@@ -3,7 +3,6 @@
 #as: --x32 -mx86-used-note=no
 #objcopy: -O elf64-x86-64
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index 1fd0ab10b50ecec8dfeadccdcfe2c02ca6ffe27c..7fff8e6641cd2d1cf781aa3690271b57655d28a0 100644 (file)
@@ -3,7 +3,6 @@
 #as: --64 -defsym __64_bit__=1 -mx86-used-note=no
 #objcopy: -O elf32-x86-64
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index 724d9c3b82ab24a256238542e105cd7e404c5cc9..eaf5438e1b85395ba850504d413e29471cdfc740 100644 (file)
@@ -3,7 +3,6 @@
 #as: --x32 -mx86-used-note=yes
 #objcopy: -O elf64-x86-64 --decompress-debug-sections
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index e35dea4e9a42336a0c10704006aac052a07c3ed4..ef70683dbfcb59ea8f3ac9cab315f24c4fbeef3a 100644 (file)
@@ -3,7 +3,6 @@
 #as: --64 -defsym __64_bit__=1 -mx86-used-note=yes
 #objcopy: -O elf32-x86-64 --decompress-debug-sections
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index b540d7705debf40d9814f6caa7c485e86506bb1e..62c655d99fbe39103cfa478f88a6400394b78457 100644 (file)
@@ -3,7 +3,6 @@
 #as: --x32 -mx86-used-note=yes
 #objcopy: -O elf64-x86-64 --decompress-debug-sections
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index fcbda09cd228df80eae71779f178866580b7c739..6423bbf44d8efae3cfd01eaca6c55ea0cf845427 100644 (file)
@@ -3,7 +3,6 @@
 #as: --64 -defsym __64_bit__=1 -mx86-used-note=yes
 #objcopy: -O elf32-x86-64 --decompress-debug-sections
 #readelf: -n
-#notarget: x86_64-*-nacl*
 
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
index 4e977c3c8361fce89a9285a8f12f2523d4762186..7bd49ab619dfbf86e4ed3be8fda28e97556ff205 100644 (file)
@@ -14,9 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 
-if {!([istarget "x86_64-*-linux*"]
-      || [istarget "x86_64-*-nacl*"])
-    || [is_remote host]} {
+if {![istarget "x86_64-*-linux*"] || [is_remote host]} {
     return
 }
 
index b91d6afe74feaa3d02338e15eaee1e3bdee79e57..c249180a0195f2fda6cd27fda269c306daa1a34e 100644 (file)
@@ -1,3 +1,18 @@
+2020-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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.
+
 2020-06-30  Nelson Chu  <nelson.chu@sifive.com>
 
        * config/tc-riscv.c (riscv_csr_class_check): Removed.  Move the
index 815359b08fb029bd3503749c9daa10078db97ccd..1ce3b6bc61019fadfd9f5db522be235f5033e533 100644 (file)
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,5 +1,7 @@
 -*- text -*-
 
+* X86 NaCl target support is removed.
+
 * Extend .symver directive to update visibility of the original symbol
   and assign one original symbol to different versioned symbols.
 
index be894782a457a6e7902d86b5ed9142102c944e77..46823e24fc438bbfa36d5883603641f3e10b98d1 100644 (file)
@@ -479,7 +479,6 @@ const char extra_symbol_chars[] = "*%-([{}"
      || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))        \
         && !defined (TE_GNU)                           \
         && !defined (TE_LINUX)                         \
-        && !defined (TE_NACL)                          \
         && !defined (TE_FreeBSD)                       \
         && !defined (TE_DragonFly)                     \
         && !defined (TE_NetBSD)))
index cb426b5b911de13dafd8fb8445353c03f0591176..e7cb1ea6cbe4de10380e93a6c1dc7dc2e5565239 100644 (file)
@@ -59,10 +59,6 @@ extern unsigned long i386_mach (void);
 #define ELF_TARGET_FORMAT64    "elf64-x86-64-freebsd"
 #elif defined (TE_VXWORKS)
 #define ELF_TARGET_FORMAT      "elf32-i386-vxworks"
-#elif defined (TE_NACL)
-#define ELF_TARGET_FORMAT      "elf32-i386-nacl"
-#define ELF_TARGET_FORMAT32    "elf32-x86-64-nacl"
-#define ELF_TARGET_FORMAT64    "elf64-x86-64-nacl"
 #elif defined TE_CLOUDABI
 #define ELF_TARGET_FORMAT64    "elf64-x86-64-cloudabi"
 #endif
index 7c2d178ab5990ceafc7ac038dc468fcd76be117d..337249597c5c41b73f675db6d3a53804d55ec712 100644 (file)
@@ -220,10 +220,6 @@ case ${generic_target} in
   i386-*-elf*)                         fmt=elf ;;
   i386-*-fuchsia*)                     fmt=elf ;;
   i386-*-bsd*)                         fmt=aout em=386bsd ;;
-  i386-*-nacl*)                                fmt=elf em=nacl
-    case ${cpu} in
-      x86_64*)                         arch=x86_64:32 ;;
-    esac ;;
   i386-*-netbsdpe*)                    fmt=coff em=pe ;;
   i386-*-netbsd*-gnu* | \
   i386-*-knetbsd*-gnu | \
index 6bee5fc9d8e36f5d7bf2ef30b9ea174611fc231d..55929d3acb6d0b884acaaed4fb840b086fb76308 100644 (file)
@@ -634,14 +634,12 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
            run_list_test "code64-inval" "-I${srcdir}/$subdir -al"
        }
 
-       if {![istarget "*-*-nacl*"]} then {
-           run_dump_test "iamcu-1"
-           run_dump_test "iamcu-2"
-           run_dump_test "iamcu-3"
-           run_dump_test "iamcu-4"
-           run_dump_test "iamcu-5"
-           run_list_test "iamcu-inval-1" "-march=iamcu -al"
-       }
+       run_dump_test "iamcu-1"
+       run_dump_test "iamcu-2"
+       run_dump_test "iamcu-3"
+       run_dump_test "iamcu-4"
+       run_dump_test "iamcu-5"
+       run_list_test "iamcu-inval-1" "-march=iamcu -al"
     }
 
     # This is a PE specific test.
index 8a3bc9f8c2d439fc6f4667cc398a008bca72e240..fb8fb196ab5a3530d44b8e336996d0002a4e497e 100644 (file)
@@ -1,6 +1,5 @@
 #as: -J -march=iamcu
 #objdump: -dw
-#notarget: *-*-nacl*
 
 .*: +file format elf32-iamcu.*
 
index 50c48e7e055d5f3dc7549e2dc6a919d46b3543eb..28afce10bc22b8bfb9270c8c275d59cc65994a47 100644 (file)
@@ -1,6 +1,5 @@
 #as: -J -march=iamcu
 #objdump: -dw
-#notarget: *-*-nacl*
 
 .*: +file format elf32-iamcu.*
 
index 3b4dfd907712ab74331e4f6d62a66f5554ae6d31..233ec19bfd1ff3f066d15c291736760eb508be6d 100644 (file)
@@ -1,6 +1,5 @@
 #as: -J -march=iamcu+nop
 #objdump: -dw
-#notarget: *-*-nacl*
 
 .*: +file format elf32-iamcu.*
 
index 7ea1bb6823a726239ad44ff6f4185ee3c3b297db..e71971f1db7d6807dcec1309412796cb496a4808 100644 (file)
@@ -1,6 +1,5 @@
 #as: -J -march=iamcu+sse2+387
 #objdump: -dw
-#notarget: *-*-nacl*
 
 .*: +file format elf32-iamcu.*
 
index af3ecd72514e8d0659015318391340e42c3ccb7b..1378f1c0fb3bde6a1ca57ecb45dfe05758bf8a3d 100644 (file)
@@ -1,6 +1,5 @@
 #as: -J -march=iamcu -I${srcdir}/$subdir
 #objdump: -dw
-#notarget: *-*-nacl*
 
 .*: +file format elf32-iamcu.*
 
index 3d47f746afa189f79fba97496f99a314e98fd30f..4eb13e3a258ea21df62f9cc587420d06692995fe 100644 (file)
@@ -3,7 +3,6 @@
 #objdump: -dw
 #name: k1om
 #warning_output: x86_64.e
-#notarget: *-*-nacl*
 
 .*: +file format elf64-k1om.*
 
index 76040ff1ebcec6396eab980f64cc8c411b7f5c04..e56f6a5c4b01f95b6c04eefa3ebbed94bbd1838d 100644 (file)
@@ -3,7 +3,6 @@
 #objdump: -dw --insn-width=7
 #name: l1om
 #warning_output: x86_64.e
-#notarget: *-*-nacl*
 
 .*: +file format elf64-l1om.*
 
index d63a60741eca6f7660b3f1112f4819de01d127c1..f7c6fb0893066ef5f6e338869594388b971abbc4 100644 (file)
@@ -1,3 +1,188 @@
+2020-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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.
+
 2020-06-30  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-elf/group1.d: Don't xfail all solaris targets, just
index 5035c5d1d5cc9ba578be6d0b8844ae37cb775e62..02c4fc1639579dd5e58213c8d0193fbdf9bb1274 100644 (file)
@@ -284,7 +284,6 @@ ALL_EMULATION_SOURCES = \
        eelf_i386_be.c \
        eelf_i386_fbsd.c \
        eelf_i386_ldso.c \
-       eelf_i386_nacl.c \
        eelf_i386_sol2.c \
        eelf_i386_vxworks.c \
        eelf_iamcu.c \
@@ -395,7 +394,6 @@ ALL_64_EMULATION_SOURCES = \
        eaarch64linux32.c \
        eaarch64linux32b.c \
        eelf32_x86_64.c \
-       eelf32_x86_64_nacl.c \
        eelf32b4300.c \
        eelf32bmip.c \
        eelf32bmipn32.c \
@@ -453,7 +451,6 @@ ALL_64_EMULATION_SOURCES = \
        eelf_x86_64.c \
        eelf_x86_64_cloudabi.c \
        eelf_x86_64_fbsd.c \
-       eelf_x86_64_nacl.c \
        eelf_x86_64_sol2.c \
        ehppa64linux.c \
        ei386pep.c \
@@ -773,7 +770,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_nacl.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Pc@am__quote@
@@ -880,7 +876,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32b.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64_nacl.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32b4300.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmip.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmipn32.Pc@am__quote@
@@ -938,7 +933,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_nacl.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_sol2.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppa64linux.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pep.Pc@am__quote@
index 49e1f857d2c6c535065ac39fd9e74d08effb1061..2fe12e14f635609e65f3dfa4d7a6cf89812fe77e 100644 (file)
@@ -767,7 +767,6 @@ ALL_EMULATION_SOURCES = \
        eelf_i386_be.c \
        eelf_i386_fbsd.c \
        eelf_i386_ldso.c \
-       eelf_i386_nacl.c \
        eelf_i386_sol2.c \
        eelf_i386_vxworks.c \
        eelf_iamcu.c \
@@ -877,7 +876,6 @@ ALL_64_EMULATION_SOURCES = \
        eaarch64linux32.c \
        eaarch64linux32b.c \
        eelf32_x86_64.c \
-       eelf32_x86_64_nacl.c \
        eelf32b4300.c \
        eelf32bmip.c \
        eelf32bmipn32.c \
@@ -935,7 +933,6 @@ ALL_64_EMULATION_SOURCES = \
        eelf_x86_64.c \
        eelf_x86_64_cloudabi.c \
        eelf_x86_64_fbsd.c \
-       eelf_x86_64_nacl.c \
        eelf_x86_64_sol2.c \
        ehppa64linux.c \
        ei386pep.c \
@@ -1263,7 +1260,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_linux_be.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_linux_le.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64_nacl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32am33lin.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32b4300.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bfin.Po@am__quote@
@@ -1374,7 +1370,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_nacl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Po@am__quote@
@@ -1386,7 +1381,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_nacl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_sol2.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300elf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300elf_linux.Po@am__quote@
@@ -2371,7 +2365,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_nacl.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Pc@am__quote@
@@ -2478,7 +2471,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32b.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64_nacl.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32b4300.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmip.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmipn32.Pc@am__quote@
@@ -2536,7 +2528,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_nacl.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_sol2.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppa64linux.Pc@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pep.Pc@am__quote@
diff --git a/ld/NEWS b/ld/NEWS
index 4dd4f3c7528b9b0cd36c7bb220bb8014f0689294..b236e588c6f615646f1ec7be125c390a04ccd810 100644 (file)
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -1,5 +1,7 @@
 -*- text -*-
 
+* X86 NaCl target support is removed.
+
 * Add ELF linker command-line options, --export-dynamic-symbol and
   --export-dynamic-symbol-list, to make symbols dynamic.
 
index 950fa321e283d85a9d59f6fb3294f794852174b4..87c7d9a4cadd3198540919ff2a7dd49001255b80 100644 (file)
@@ -178,16 +178,12 @@ arm*-*-linux-*)           targ_emul=armelf_linux
                        targ_extra_libpath="armelfb_linux"
                        ;;
 arm*b-*-nacl*)         targ_emul=armelfb_nacl
-                       targ_extra_emuls="armelf_nacl elf_i386_nacl"
+                       targ_extra_emuls="armelf_nacl"
                        targ_extra_libpath=$targ_extra_emuls
-                       targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl"
-                       targ64_extra_libpath=$targ64_extra_emuls
                        ;;
 arm*-*-nacl*)          targ_emul=armelf_nacl
-                       targ_extra_emuls="armelfb_nacl elf_i386_nacl"
+                       targ_extra_emuls="armelfb_nacl"
                        targ_extra_libpath=$targ_extra_emuls
-                       targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl"
-                       targ64_extra_libpath=$targ64_extra_emuls
                        ;;
 arm*-*-uclinux*eabi*)  targ_emul=armelf_linux_eabi
                        targ_extra_emuls=armelfb_linux_eabi
@@ -404,12 +400,6 @@ i[3-7]86-*-vxworks*)       targ_emul=elf_i386_vxworks
                        ;;
 i[3-7]86-*-chaos)      targ_emul=elf_i386_chaos
                        ;;
-i[3-7]86-*-nacl*)      targ_emul=elf_i386_nacl
-                       targ_extra_emuls="armelf_nacl armelfb_nacl"
-                       targ_extra_libpath=$targ_extra_emuls
-                       targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl"
-                       targ64_extra_libpath=$targ64_extra_emuls
-                       ;;
 ia16-*-elf*)           targ_emul=elf_i386
                        targ_extra_emuls=i386msdos
                        ;;
@@ -997,11 +987,6 @@ x86_64-*-mingw*)   targ_emul=i386pep ;
                        targ_extra_emuls=i386pe
                        targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o"
                        ;;
-x86_64-*-nacl*)                targ_emul=elf32_x86_64_nacl
-                       targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl"
-                       targ_extra_libpath=$targ_extra_emuls
-                       tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
-                       ;;
 xc16x-*-elf)           targ_emul=elf32xc16x
                        targ_extra_emuls="elf32xc16xl elf32xc16xs"
                        ;;
diff --git a/ld/emulparams/elf32_x86_64_nacl.sh b/ld/emulparams/elf32_x86_64_nacl.sh
deleted file mode 100644 (file)
index fd5f3d4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-source_sh ${srcdir}/emulparams/elf32_x86_64.sh
-source_sh ${srcdir}/emulparams/elf_nacl.sh
-OUTPUT_FORMAT="elf32-x86-64-nacl"
-ARCH="i386:x64-32:nacl"        # The :nacl just means one-byte nops for code fill.
diff --git a/ld/emulparams/elf_i386_nacl.sh b/ld/emulparams/elf_i386_nacl.sh
deleted file mode 100644 (file)
index a8cf385..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-source_sh ${srcdir}/emulparams/elf_i386.sh
-source_sh ${srcdir}/emulparams/elf_nacl.sh
-OUTPUT_FORMAT="elf32-i386-nacl"
-ARCH="i386:nacl"       # The :nacl just means one-byte nops for code fill.
diff --git a/ld/emulparams/elf_x86_64_nacl.sh b/ld/emulparams/elf_x86_64_nacl.sh
deleted file mode 100644 (file)
index 3f47e4c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-source_sh ${srcdir}/emulparams/elf_x86_64.sh
-source_sh ${srcdir}/emulparams/elf_nacl.sh
-OUTPUT_FORMAT="elf64-x86-64-nacl"
-ARCH="i386:x86-64:nacl"        # The :nacl just means one-byte nops for code fill.
index 699d84ddd4e6e82787fbeb1aa66e206cd778e2f9..4ef0987de0717267736d472eb25cb3f3fffb9c87 100644 (file)
@@ -82,7 +82,6 @@ eelf32_tic6x_le.c
 eelf32_tic6x_linux_be.c
 eelf32_tic6x_linux_le.c
 eelf32_x86_64.c
-eelf32_x86_64_nacl.c
 eelf32am33lin.c
 eelf32b4300.c
 eelf32bfin.c
@@ -193,7 +192,6 @@ eelf_i386.c
 eelf_i386_be.c
 eelf_i386_fbsd.c
 eelf_i386_ldso.c
-eelf_i386_nacl.c
 eelf_i386_sol2.c
 eelf_i386_vxworks.c
 eelf_iamcu.c
@@ -205,7 +203,6 @@ eelf_s390.c
 eelf_x86_64.c
 eelf_x86_64_cloudabi.c
 eelf_x86_64_fbsd.c
-eelf_x86_64_nacl.c
 eelf_x86_64_sol2.c
 eh8300elf.c
 eh8300elf_linux.c
index fc54c9869fa7b5f0d3652093e1d88796e263334f..7813ad36ee1980d62dbe705055b7634c66338fdb 100644 (file)
@@ -165,9 +165,7 @@ if { ([istarget "i?86-*-elf*"]
       || [istarget "i?86-*-linux*"]
       || [istarget "i?86-*-gnu*"]
       || [istarget "x86_64-*-linux*"]
-      || [istarget "amd64-*-linux*"]
-      || [istarget "i?86-*nacl*"]
-      || [istarget "x86_64-*nacl*"]) } {
+      || [istarget "amd64-*-linux*"]) } {
     binutils_test strip "-z relro -shared" relro2
     binutils_test objcopy "-z relro -shared" relro2
 }
index 3ae769e3bf9d133f59f612c4f59431851c420a85..c0d67d80d27af284353a3c6d0b6f5eca5f0d04e8 100644 (file)
@@ -46,13 +46,6 @@ if { [istarget alpha*-*-* ] } {
     set ASFLAGS "$ASFLAGS --defsym NO_SET=1"
 }
 
-if { [istarget "*-*-nacl*"] } {
-    # The eh[1-4] cases are written to expect ELFCLASS64 layout on x86-64.
-    # But the target default is ELFCLASS32.  So the cases explicitly use
-    # -melf_x86_64 to select that, but NaCl needs a different emulation name.
-    set options_regsub(ld) {-melf_x86_64 -melf_x86_64_nacl}
-}
-
 if { [istarget "*-*-solaris*"] } {
     # Same for Solaris
     set options_regsub(ld) {-melf_x86_64 -melf_x86_64_sol2}
index 8efbac21b9623c6dede0073b5e817c407a3506b3..825b7944d082fbef12d1e80eb685056aedcbf182 100644 (file)
@@ -37,7 +37,6 @@ if { ![istarget hppa*64*-*-hpux*]
      && ![istarget i?86-*-elf*]
      && ![istarget i?86-*-linux*]
      && ![istarget i?86-*-gnu*]
-     && ![istarget i?86-*-nacl*]
      && ![istarget ia64-*-elf*]
      && ![istarget ia64-*-linux*]
      && ![istarget m68k-*-linux*]
@@ -54,8 +53,7 @@ if { ![istarget hppa*64*-*-hpux*]
      && ![istarget alpha*-*-linux*]
      && ![istarget s390*-*-linux*]
      && ![istarget sh\[34\]*-*-linux*]
-     && ![istarget x86_64-*-linux*]
-     && ![istarget x86_64-*-nacl*] } {
+     && ![istarget x86_64-*-linux*] } {
     return
 }
 
index b1347e50555ca5ebef0d6f7670f1825268366801..8c62ee4b5f91ac14f59e0c466eee5601d32bf84e 100644 (file)
@@ -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 (file)
index 520a57e..0000000
+++ /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
index e0afb7a977aa03483b36ac36b2a5248bbc334f3b..e58fdc43d93784d14f9d68bdd5586fbce904cb55 100644 (file)
@@ -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
 }
index d71b9781648329f7d74028eeec84224a98f92bd0..27ad1693a3c3553e17c13e84907d108b9248a83e 100644 (file)
@@ -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 (file)
index 317d1c4..0000000
+++ /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
index 8e8db9f43be737ab43c9e888e0aa64dc423fd4e5..fb01cf8bad81c02e49fed494aab461a80e278517 100644 (file)
@@ -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 (file)
index aafd6a7..0000000
+++ /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
index e7beaa2400a8dc48fe990a16211ba0c04f40471a..338d05784d0384509c9972224c1f797a5ec83e23 100644 (file)
@@ -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 (file)
index d95e888..0000000
+++ /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 (file)
index 03aa007..0000000
+++ /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
index d5a466e0dd7a9975ad4edb5aea577ea207f0565a..03aeb7b6a57d5918d8b7fababf52fb39d56551c4 100644 (file)
@@ -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\)
index b295801c99caee7c07c5d929fb87b168631917f7..0532aacd9707d9de612cf3b139b82eaee95f5eec 100644 (file)
@@ -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 (file)
index 8414784..0000000
+++ /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 (file)
index 27797d6..0000000
+++ /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 <.*>
index e667cae2e7a001585d6bdb6751528afc6398a699..b034e30dc36e38bdbb2fc7787e7eba35a100e443 100644 (file)
@@ -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 .*
 
index 6198c0f082a34d176465538b2cee24c8e38721bc..4567c53a6c3b5353ff8cd87e8101812730b5f85d 100644 (file)
@@ -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 (file)
index de52ec5..0000000
+++ /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 <.*>
index b126480b4f285b8c29e62535a4a1ed0c9bb96c33..e3b737bff5ff0936c38af4ae84d8e6bee4c18a7b 100644 (file)
@@ -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 (file)
index c7b5d10..0000000
+++ /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
index 694be367ebb646cb007be9e41856ef39644d9815..22f09d83fb1d079fa142ebf55be6dbdba2b473ec 100644 (file)
@@ -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 (file)
index eb0cf8d..0000000
+++ /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
index c039fcb0a312339bc8a72ebd14c9363523e50104..89c0d5d44fbec32d928ba4915f5b24a36e04550a 100644 (file)
@@ -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 (file)
index e48d7d5..0000000
+++ /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 +
index 98aaa9e01bbb5b88fa1fca559368453ec3a70d9a..a2d6c3f094da06be868a1db7016178f51f2bcadb 100644 (file)
@@ -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 .*
 
index f5a1a61ca7e7ad5acaa06b8423c18fda3e6f86e7..160ce86e36814c4b509f180083f01a16f3765d11 100644 (file)
@@ -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 .*
 
index 40c6e32c94fe218e8516932059fcdc877eca65a5..334b89e4ce83b1b467c5695584b4a688a6564238 100644 (file)
@@ -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 .*
 
index 406d3bd3a7309b734cdfb5b19bdbf25fbbbaf464..05364e06c94d75e80c094c1a880c9082c8fd0389 100644 (file)
@@ -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 .*
 
index 142ec2748b3e614b01a7366ac6996501615fc308..a01f6f1e8d711ee82b5ed745772fe77aa5bda68a 100644 (file)
@@ -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
index 7e6fe3690df9ba0a3faf773b28e7046b66eb0093..865d339db568241cbb577e8ae2514a014c5c20bc 100644 (file)
@@ -2,7 +2,6 @@
 #as: --32
 #ld: -m elf_i386 -z noseparate-code
 #objdump: -dw
-#notarget: i?86-*-nacl* x86_64-*-nacl*
 
 .*: +file format .*
 
index 946f56b0d1883b4d39665f0f8e2587e64f851705..cbf0d65305f35b8e1cb05d628ff22b4d290aaa51 100644 (file)
@@ -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 (file)
index 82daaaa..0000000
+++ /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 (file)
index 3ffb56c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-OUTPUT_FORMAT("elf32-i386-nacl");
-OUTPUT_ARCH(i386);
-
-ENTRY(_start);
-SECTIONS {
-        . = 0x10000;
-        _start = . ;
-        .data : {
-                *(.data)
-        }
-}
index ea73aa2a759e007996acd9587a1d83e58db5a781..dc212d3c68aa8809b0e84835b3c0d9f842242722 100644 (file)
@@ -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 (file)
index 38642ce..0000000
+++ /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 (file)
index da69c27..0000000
+++ /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 (file)
index f86ad79..0000000
+++ /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 (file)
index 6237691..0000000
+++ /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 (file)
index 9107fd4..0000000
+++ /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 (file)
index e981c86..0000000
+++ /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 (file)
index 38aaf6a..0000000
+++ /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 (file)
index c5e8a0e..0000000
+++ /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
index 4b6c8ebe3eed3277c2b65fa93482c8e162671cac..baad8a2cc314c01d6c34a4d7cb75c0985d969a51 100644 (file)
@@ -27,8 +27,6 @@
 if { !([istarget "i?86-*-elf*"]
        || [istarget "i?86-*-linux*"]
        || [istarget "i?86-*-gnu*"]
-       || [istarget "i?86-*-nacl*"]
-       || [istarget "x86_64-*-nacl*"]
        || [istarget "x86_64-*-linux*"]
        || [istarget "amd64-*-linux*"]) } {
     return
index baff0fc7f6fa909dc6e1a590de655af6c9608bd4..6ff3f75ec25d573bbc187ec1468717c0f502169e 100644 (file)
@@ -2,6 +2,6 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 There are no relocations in this file.
index bd83721db0e094c8cf76ad210ee3cbf9ae0c265e..8ece379efbcf9a313fc87725b481fea73b40b5fd 100644 (file)
@@ -2,6 +2,5 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 There are no relocations in this file.
index baff0fc7f6fa909dc6e1a590de655af6c9608bd4..6ff3f75ec25d573bbc187ec1468717c0f502169e 100644 (file)
@@ -2,6 +2,6 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 There are no relocations in this file.
index bd83721db0e094c8cf76ad210ee3cbf9ae0c265e..8ece379efbcf9a313fc87725b481fea73b40b5fd 100644 (file)
@@ -2,6 +2,5 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 There are no relocations in this file.
index 217b5ca9170b7901c16e7785c531eddc056cd09e..68f99d76862030ed0e41f38533eba73e97fcc1bd 100644 (file)
@@ -2,6 +2,6 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 There are no relocations in this file.
index dbbc9dfd18b4ab30d2357b74a215d156eead1acb..40f07c38bb75598a26d0de8025d60cfda90b861e 100644 (file)
@@ -2,6 +2,5 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 There are no relocations in this file.
index 1af22fd35d6efa97e1a96b6b4241a2f112803eb0..c7ebede720fd4880a207c7bcce3a6ec726688e6b 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32 -mrelax-relocations=yes
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.ifunc' at offset 0x[0-9a-f]+ contains 1 entry:
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 5987bfe4532539a3f6e0e921407a5d66aea159fb..115194d319b91a5beeb6057b779b0c877b0f66e7 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.ifunc' at offset 0x[0-9a-f]+ contains 1 entry:
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 4a1c967ec01c36f95e03c176456fb2d010874617..2f248239c10f7e28d4bfaa6cd1499b834fcfc6e1 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -d --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #failif
 #...
index 9f04458e330ad9a3f3cac37d590b7f5c44785ab6..2c4ebbb03b9e6440d2151f2586de97b882d8f9d3 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -d
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #failif
 #...
index eeb6ce20ee88eeea8289d4ab24472aa8bdd791f3..fb2232da104de8809f816e5e0c75f68ffc956183 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -d --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #failif
 #...
index dc7aa2702ab1cca178831305f6382c56ae1f26fe..cc1f5ae6b2a3602af9391b3b3a4a41602a91561e 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -d
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #failif
 #...
index f8e50642a5a7305a755c3b595bb90c2155ca429c..45b01fdec45101575cc8fbb3fecc646d3b46b106 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #failif
 #...
index 4f0c4b1e62a8c88a3e54019b6860035c3bb4a604..76bfa84a2f076b21aebfae27286f710f44e3426e 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #failif
 #...
index 95099144067e7980be9ba3784063df39e0ff5c1a..a6c97b599351324f4a1be74124478ad9ed14b6b7 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #failif
 #...
index 011da6cee76a1802584ab41cf75448b7b889813a..789584bc309e5d33a979ea0b16461745bafe8209 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #failif
 #...
index 45f29b82512cb5aad023322a59929dfd05aec2b7..d568cc440f7649e8a96cb71884a3b1fb455c6819 100644 (file)
@@ -5,7 +5,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #failif
 #...
index 5a3eec845310d4f19229032da2f13672f17f67cc..0955c92f1381ffafefc213778279060c48e52019 100644 (file)
@@ -5,7 +5,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #failif
 #...
index 50a209bf562a5fedd6c255c254ac7d13558df8f5..76e2fac422585f5f505ba04a07c32d85a0325be1 100644 (file)
@@ -5,7 +5,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #failif
 #...
index b1b053f056d6686bd0f5b6ffe3d324fcd0a3c973..12fb2257a84f089a2ef261441b4da56c9221ab87 100644 (file)
@@ -5,7 +5,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #failif
 #...
index c0194b225afe4bf3dc9175b89709058eb7a3f46a..c41beb18b9f4ab76a0ef043faf1126ddbaab65b6 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.got' at offset 0x[0-9a-f]+ contains 1 entry:
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 438f176da17ec970e4d481b7eb8033d389e55d32..e039cef718c6e2ab4f67838361ff11163bdda526 100644 (file)
@@ -3,7 +3,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.got' at offset 0x[0-9a-f]+ contains 1 entry:
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 42386028c7f5c909f860fdaf0517c9cd58a769bf..4f4327add784d18dbcece40b3c2c422eaf38c9d0 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 3fca3fc5c2d9381d46f61fe28a2d0324290f8da7..7f30e03dc66a1fba9acc7ff51431db43e6358a5a 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 00f24274bcbeb59aa75550b570d3471f575e4934..db6c0e285a13705b2515f880e08bb32ee56d541c 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -z now -shared -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index dfa36177fca1d3ad59ac781085064a1f4d18e5a8..d69626d3021ff364cdd6b2ba4127fdb3ae640c26 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -shared -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 7d79ca7bb5a54cb5df777db4d13f7d371fe1d372..6297cfa1f75b85e568e0b3b21d19264e653d2c21 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -s --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #...
  +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] foo
index 4bc877bf829f7ffe1604fa7a23934bcba6db13c4..965ef6343dc3f1f50a6f9e262c27454daa28d2e0 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -s --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #...
  +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] foo
index e8ab420803652688a4d754d718e95d739b943dab..e431012180aba5ad4f67f52b2eb62cea3fe4df39 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -s --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #...
  +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] foo
index fc449dfcfa67995ec7dcadb601d360074141de50..7527eae9be7decb34237e237c522d4c45f2474dc 100644 (file)
@@ -4,7 +4,6 @@
 #as: --64
 #readelf: -s --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #...
  +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] foo
index d0fa3dad1e8d3c255c260e302fab1492eeef4e72..5ae71122b566b370dec113f4a2df856724ab315c 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 2b262dd578e32ec86663de9cc8ea3fa8fb094bff..e9d603176c7eb547b509a900b25055198cc0779d 100644 (file)
@@ -4,7 +4,6 @@
 #ld: -shared -melf_x86_64 -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 448323e59dcc25a2d61219d63796c06941839267..699af7c08d9193aced499e24dd623a86fcdc64ef 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 0c95b28acb89f2ed7d2f88d26ade84e5a19ed140..b4ff6c3c41c483dadfdad11bf25a43933539b8a1 100644 (file)
@@ -4,7 +4,6 @@
 #ld: -shared -melf_x86_64 -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 6b11169188bad3e3e99031567162e5b4f755fc23..f44a048afb6bcb9d6e459f4b4b83fa85d5c9b490 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index bd4c65e8720cd18f5c5b14e85c00ae767f4664e7..fe576d2d333d61200bb63262d038149bdc2485eb 100644 (file)
@@ -4,7 +4,6 @@
 #ld: -shared -melf_x86_64 -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index ae6831671a979a9c84e96f75a7a9f7df20c847f1..da6b3b9d49d0384e0e53f8a90fb5c6e300742504 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 5f7a1c7f8d490d2cc9f67a6bc7a53a1955209164..35fa3285fd584f1d3a1a36dd5b1294beb15b692f 100644 (file)
@@ -4,7 +4,6 @@
 #ld: -shared -melf_x86_64 -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.ifunc' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 2b6864a66d19ad02dae06a6a6108c727e1225831..622def06277e6f48f2fc1c3bc0c51cf34ebc9be4 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 .*: +file format .*
 
index bc00d526c0057814ee13a15085e78585321c02f0..04131dd4c5baf966ae8b0f997c3727a193d0ff84 100644 (file)
@@ -2,7 +2,7 @@
 #as: --32
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #...
 [ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-f]+<\*ABS\*@plt>
index c25f27a81df3a128344270d37c616249aa402f69..87ae6823a5e3331e721f3af46a78d5b9696cfdd5 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 .*: +file format .*
 
index bc00d526c0057814ee13a15085e78585321c02f0..04131dd4c5baf966ae8b0f997c3727a193d0ff84 100644 (file)
@@ -2,7 +2,7 @@
 #as: --32
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #...
 [ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-f]+<\*ABS\*@plt>
index 2ba25e53da6dc2e8314cc8149bc2408b6341a08c..75aa37f30cf2c1c2de32ca653f918e8c5490ec10 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index 75cd566166d00384976928301e2ea2ef2d917f22..14a5728032753ce714f54ca562fcb41291ebab4c 100644 (file)
@@ -2,7 +2,6 @@
 #ld: -shared -melf_x86_64 --hash-style=sysv -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #...
 [ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x190@plt>
index 694ec344256d94f951c1eddc25675ded8fa37700..591825d541ac7d65dd980e8b17814bbdb947a0c7 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index 6f6717d4a8cf386b6971655e5c418d8865bf4793..2a1f2698a2a9bd1aca27a78f323251c6d2d3cd10 100644 (file)
@@ -2,7 +2,6 @@
 #ld: -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #...
 [ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x190@plt>
index b7edd370a3a673ef3f1af654a747f2fdfc6c5430..229833d0c8a77651cff57fcf76cb9d86872f1e22 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.ifunc' at offset 0x[0-9a-f]+ contains 1 entry:
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 57c0568a6a3db6d45c2f635ce153281bef021766..0ea46a6a2d2d0ad39c5856c945b574ed3c8dd3c0 100644 (file)
@@ -3,7 +3,6 @@
 #as: --64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.ifunc' at offset 0x[0-9a-f]+ contains 1 entry:
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 24f287fae92199d6a18bb729c99c4e521f1fad15..d4ff9348f54387b6e73b09e0c4629997a35c8c0f 100644 (file)
@@ -2,7 +2,7 @@
 #as: --32 -mrelax-relocations=yes
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 .*: +file format .*
 
index ac7674b0c547435d5061a15ba6a62c60083075d5..dbddc55dc3fb5f25f156f305fdac9323362eecac 100644 (file)
@@ -2,7 +2,6 @@
 #ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index 24f287fae92199d6a18bb729c99c4e521f1fad15..d4ff9348f54387b6e73b09e0c4629997a35c8c0f 100644 (file)
@@ -2,7 +2,7 @@
 #as: --32 -mrelax-relocations=yes
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 .*: +file format .*
 
index ac7674b0c547435d5061a15ba6a62c60083075d5..dbddc55dc3fb5f25f156f305fdac9323362eecac 100644 (file)
@@ -2,7 +2,6 @@
 #ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index b64e5b818c1ffe68c60dd8b8f8bc3f5f3effc70a..e391ee554c926ab35e2764c8f8c41ebee2207ed5 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index d4ad13a4bab586bc77413efdf8101d175fb2d8a5..cc54588f3a56161f074b2a21eb680f38a6ed6580 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 1926145f1af76bfd45bb4ad427037b26bb2ef389..73a822dbf496a815c2e40c3683b281e266850a6d 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 5a19c9ab2e58af58b95cad9808c662c0cf8ad0b2..46f41863bc8e80515e27e972f0f636dc4817846d 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 2c971ba09c345f12d5462ade1aa6d8a160d2c740..cc11eb8e5e1b7f510e68f6655a40e879cec35efe 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.got' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index eb6d83be136423069a021024d67086161bf4e23e..78655d7da876bc145277dfad7cc7e26f8371aeac 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index ded6fc905710cdaaf72891f3ea6fc7b22cad89cc..3913dd60c9c80e93a23291152bd8f4405dd95898 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64 -shared -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index af208b9bbd15d2b1e11ff18d4012cf4971920b90..02aff6b7c8527476921dc79ce13096ecb1aedf7e 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64 -shared -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.got' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index f66b796bea01fceeb36dee7a77da13784f30a520..59c9f232f84a10dc57d0468fcef4145d9cdef258 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.text' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 710778c74ed391dd8de0faa97f74b1434aa245db..2ce53a9efa69e22ba03fc0a91d5c47766bfdc85c 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -r -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.text' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 8d0c14ba3a8b888d15192fa87068b23f9b41258f..3c8db808748c07e3303d4ab5197a88c5e6fbb164 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 1333fbecb11e0bd52250942d261d7ad5664a191b..cc3ff94d5ee048ad99957f09fc0b2e557e97bd5c 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 36aa8328c5ccc99d570c86f2d59738646ab3a469..a67c7fdb98dd74437a0446d0f59e187ffc7604f2 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.got' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 34fdb4249d7574a97108b31646125cebbc16c862..16ccfd7cfd18e88be39dbac78a91eb060009f8df 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64 -shared -z nocombreloc
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.got' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index d9bbb60abde10fa8b3435174f5dfc1ddd840b173..03723fc60475503404ca0a2574efbe3bf4c6e2be 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index a2dca3d84fc59e4bd17d3865cd20ca3d54a68141..254440196934eb569d7be73fcf70569ce87ade4f 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index dee920f15decf58f281f8080fa63a57bbe07fdba..cd1a730f43f57630ca5972188e6565489bd258a9 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index b44150f43ca476526069eec9b78888b45528942a..846fe34e89f3e42c520f0a5a9743f774516ea471 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64 -shared
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 67472fa190abae055e60c54e1ef5049baee3f6d1..ed907956ac4cdda560e9bc9438b16383c6e31c0f 100644 (file)
@@ -4,7 +4,7 @@
 #as: --32
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index a9c039a4547db764291660ce3f59f0a137720d1e..ad6a5ddfacc611dbd47861fd1b6b753d2686ef70 100644 (file)
@@ -4,7 +4,6 @@
 #ld: -melf_x86_64
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 79007c2b4d78682ecbd490e552817fd10fa97191..f4bf7ac0df6c048c7c03f9c4c54429251c546581 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -m elf_i386 --export-dynamic
 #readelf: -r --wide
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 Relocation section '.rel.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index 37ff2ec4296d9d594e1224ffd0e24b0c33dc7d82..85c3a691502632f2e15b8626ba2572703ac7c032 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -melf_x86_64 --export-dynamic
 #readelf: -r --wide
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 Relocation section '.rela.plt' at .*
 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
index d977aab144032b90fa98af8bfb652477640d7f95..c6667b7062b227d676e5e60d09f608eaa3eda047 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 .*: +file format .*
 
index 4ca5b77637272d352a8c19fe3b978f91eee4cf79..b2c8cf2946722fa313f840d587475ddf33c62896 100644 (file)
@@ -3,7 +3,7 @@
 #as: --32
 #objdump: -dw
 #target: x86_64-*-* i?86-*-*
-#notarget: *-*-lynxos *-*-nacl* *-*-nto*
+#notarget: *-*-lynxos *-*-nto*
 
 #...
 0+180 <.*>:
index cf94a0c241942e7060f8bdc2679977a2f6619e87..690514863cf911888574e339f605219d6e716284 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index 6069b6aa8a9eda5458be478753830a955b4a0ff1..bd8f7398017690bff7c73063e326a1fd02582de0 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #target: x86_64-*-*
-#notarget: x86_64-*-nacl*
 
 #...
 0+240 <.*>:
index 5a6ba7ad83733a1aceb753d0f1aafa337ae66d35..2d6ca6888b4c1078c3a46349ea099d04413f3bfb 100644 (file)
@@ -597,8 +597,6 @@ if { [at_least_gcc_version 4 7] } {
     if { ([istarget "i?86-*-elf*"]
           || [istarget "i?86-*-linux*"]
           || [istarget "i?86-*-gnu*"]
-          || [istarget "i?86-*-nacl*"]
-          || [istarget "x86_64-*-nacl*"]
           || [istarget "x86_64-*-linux*"]
           || [istarget "amd64-*-linux*"]) } {
        set testname "PR ld/12365"
index 19a6a4d4a4630032d693bb6a3cd1a8b34479a621..c980b90af6452e1f032cb34bdb1e6d0549dbb47f 100644 (file)
@@ -1,7 +1,6 @@
 #as: --64 -mbranches-within-32B-boundaries
 #ld: -melf_x86_64
 #objdump: -dw
-#notarget: i?86-*-nacl* x86_64-*-nacl*
 
 .*: +file format .*
 
index af327153c54b3f41ba4c8bd12760ee6e22320b4d..54583aa59fcaa04e4dd8cbf94af07f49f6d7b8d0 100644 (file)
@@ -34,9 +34,7 @@
 #     <5d>   DW_AT_type        : <0x0>
 
 # Only the testcase .s files are arch-dependent, the relocations are cross-arch.
-if { !([istarget "x86_64-*-elf*"]
-       || [istarget "x86_64-*-nacl*"]
-       || [istarget "x86_64-*-linux*"]) } {
+if { !([istarget "x86_64-*-elf*"] || [istarget "x86_64-*-linux*"]) } {
     return
 }
 
diff --git a/ld/testsuite/ld-x86-64/ilp32-4-nacl.d b/ld/testsuite/ld-x86-64/ilp32-4-nacl.d
deleted file mode 100644 (file)
index 01cb85a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#source: ilp32-4.s
-#as: --x32
-#ld: -m elf32_x86_64_nacl -shared --no-ld-generated-unwind-info --hash-style=sysv
-#readelf: -d -S --wide
-#target: x86_64-*-nacl*
-
-There are 9 section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Addr +Off +Size +ES +Flg +Lk +Inf +Al
- +\[ 0\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[ 1\] \.text +PROGBITS +0+ 0+10000 +0+1 +00 +AX +0 +0 +1
- +\[ 2\] \.hash +HASH +100000b4 +0+b4 +0+14 +04 +A +3 +0 +4
- +\[ 3\] \.dynsym +DYNSYM +100000c8 +0+c8 +0+20 +10 +A +4 +1 +4
- +\[ 4\] \.dynstr +STRTAB +100000e8 +0+e8 +0+8 +00 +A +0 +0 +1
- +\[ 5\] \.dynamic +DYNAMIC +100100f0 +0+f0 +0+58 +08 +WA +4 +0 +4
- +\[ 6\] \.symtab +SYMTAB +0+0 +[0-9a-f]+ +[0-9a-f]+ +10 +7 +[0-9] +4
- +\[ 7\] \.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1
- +\[ 8\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +0+40 +00 +0 +0 +1
-Key to Flags:
-#...
-
-Dynamic section at offset 0xf0 contains 6 entries:
-  Tag        Type                         Name/Value
- 0x00000004 \(HASH\)                       0x100000b4
- 0x00000005 \(STRTAB\)                     0x100000e8
- 0x00000006 \(SYMTAB\)                     0x100000c8
- 0x0000000a \(STRSZ\)                      8 \(bytes\)
- 0x0000000b \(SYMENT\)                     16 \(bytes\)
- 0x00000000 \(NULL\)                       0x0
index 7eb6cf732aba53fe24bf62311d65e2f31fc2de19..1a43d27cb1fa27b3904acf5d16898ec615185bf9 100644 (file)
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
-if { !([istarget "x86_64-*-elf*"]
-       || [istarget "x86_64-*-nacl*"]
-       || [istarget "x86_64-*-linux*"]) } {
+if { !([istarget "x86_64-*-elf*"] || [istarget "x86_64-*-linux*"]) } {
     return
 }
 
-if [istarget "*-*-nacl*"] {
-    set emul "elf_x86_64_nacl"
-} else {
-    set emul "elf_x86_64"
-}
-
+set emul "elf_x86_64"
 set testline "undefined line"
 
 if ![ld_assemble $as "--64 $srcdir/$subdir/undefined.s" tmpdir/undefined.o] {
diff --git a/ld/testsuite/ld-x86-64/load1a-nacl.d b/ld/testsuite/ld-x86-64/load1a-nacl.d
deleted file mode 100644 (file)
index f038400..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#source: load1.s
-#as: --64
-#ld: -melf_x86_64
-#objdump: -dw --sym
-#target: x86_64-*-nacl*
-
-.*: +file format .*
-
-SYMBOL TABLE:
-#...
-0+100300b0 l     O .data       0+1 bar
-#...
-0+100300b1 g     O .data       0+1 foo
-#...
-
-Disassembly of section .text:
-
-0+20000 <_start>:
-[      ]*[a-f0-9]+:    81 d0 b0 00 03 10       adc    \$0x100300b0,%eax
-[      ]*[a-f0-9]+:    81 c3 b0 00 03 10       add    \$0x100300b0,%ebx
-[      ]*[a-f0-9]+:    81 e1 b0 00 03 10       and    \$0x100300b0,%ecx
-[      ]*[a-f0-9]+:    81 fa b0 00 03 10       cmp    \$0x100300b0,%edx
-[      ]*[a-f0-9]+:    81 ce b0 00 03 10       or     \$0x100300b0,%esi
-[      ]*[a-f0-9]+:    81 df b0 00 03 10       sbb    \$0x100300b0,%edi
-[      ]*[a-f0-9]+:    81 ed b0 00 03 10       sub    \$0x100300b0,%ebp
-[      ]*[a-f0-9]+:    41 81 f0 b0 00 03 10    xor    \$0x100300b0,%r8d
-[      ]*[a-f0-9]+:    41 f7 c7 b0 00 03 10    test   \$0x100300b0,%r15d
-[      ]*[a-f0-9]+:    48 81 d0 b0 00 03 10    adc    \$0x100300b0,%rax
-[      ]*[a-f0-9]+:    48 81 c3 b0 00 03 10    add    \$0x100300b0,%rbx
-[      ]*[a-f0-9]+:    48 81 e1 b0 00 03 10    and    \$0x100300b0,%rcx
-[      ]*[a-f0-9]+:    48 81 fa b0 00 03 10    cmp    \$0x100300b0,%rdx
-[      ]*[a-f0-9]+:    48 81 cf b0 00 03 10    or     \$0x100300b0,%rdi
-[      ]*[a-f0-9]+:    48 81 de b0 00 03 10    sbb    \$0x100300b0,%rsi
-[      ]*[a-f0-9]+:    48 81 ed b0 00 03 10    sub    \$0x100300b0,%rbp
-[      ]*[a-f0-9]+:    49 81 f0 b0 00 03 10    xor    \$0x100300b0,%r8
-[      ]*[a-f0-9]+:    49 f7 c7 b0 00 03 10    test   \$0x100300b0,%r15
-[      ]*[a-f0-9]+:    81 d0 b1 00 03 10       adc    \$0x100300b1,%eax
-[      ]*[a-f0-9]+:    81 c3 b1 00 03 10       add    \$0x100300b1,%ebx
-[      ]*[a-f0-9]+:    81 e1 b1 00 03 10       and    \$0x100300b1,%ecx
-[      ]*[a-f0-9]+:    81 fa b1 00 03 10       cmp    \$0x100300b1,%edx
-[      ]*[a-f0-9]+:    81 ce b1 00 03 10       or     \$0x100300b1,%esi
-[      ]*[a-f0-9]+:    81 df b1 00 03 10       sbb    \$0x100300b1,%edi
-[      ]*[a-f0-9]+:    81 ed b1 00 03 10       sub    \$0x100300b1,%ebp
-[      ]*[a-f0-9]+:    41 81 f0 b1 00 03 10    xor    \$0x100300b1,%r8d
-[      ]*[a-f0-9]+:    41 f7 c7 b1 00 03 10    test   \$0x100300b1,%r15d
-[      ]*[a-f0-9]+:    48 81 d0 b1 00 03 10    adc    \$0x100300b1,%rax
-[      ]*[a-f0-9]+:    48 81 c3 b1 00 03 10    add    \$0x100300b1,%rbx
-[      ]*[a-f0-9]+:    48 81 e1 b1 00 03 10    and    \$0x100300b1,%rcx
-[      ]*[a-f0-9]+:    48 81 fa b1 00 03 10    cmp    \$0x100300b1,%rdx
-[      ]*[a-f0-9]+:    48 81 cf b1 00 03 10    or     \$0x100300b1,%rdi
-[      ]*[a-f0-9]+:    48 81 de b1 00 03 10    sbb    \$0x100300b1,%rsi
-[      ]*[a-f0-9]+:    48 81 ed b1 00 03 10    sub    \$0x100300b1,%rbp
-[      ]*[a-f0-9]+:    49 81 f0 b1 00 03 10    xor    \$0x100300b1,%r8
-[      ]*[a-f0-9]+:    49 f7 c7 b1 00 03 10    test   \$0x100300b1,%r15
-#pass
index 09dacb4f2497b6921026947f57119ad206355191..194d3043f0df4765b28c0f9ec85e29ea474be09a 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64 -mrelax-relocations=yes
 #ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw --sym
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/load1b-nacl.d b/ld/testsuite/ld-x86-64/load1b-nacl.d
deleted file mode 100644 (file)
index f4ab3be..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#source: load1.s
-#as: --x32
-#ld: -melf32_x86_64
-#objdump: -dw --sym
-#target: 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]+:   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 ce 74 00 03 10       or     \$0x10030074,%esi
- +[a-f0-9]+:   81 df 74 00 03 10       sbb    \$0x10030074,%edi
- +[a-f0-9]+:   81 ed 74 00 03 10       sub    \$0x10030074,%ebp
- +[a-f0-9]+:   41 81 f0 74 00 03 10    xor    \$0x10030074,%r8d
- +[a-f0-9]+:   41 f7 c7 74 00 03 10    test   \$0x10030074,%r15d
- +[a-f0-9]+:   48 81 d0 74 00 03 10    adc    \$0x10030074,%rax
- +[a-f0-9]+:   48 81 c3 74 00 03 10    add    \$0x10030074,%rbx
- +[a-f0-9]+:   48 81 e1 74 00 03 10    and    \$0x10030074,%rcx
- +[a-f0-9]+:   48 81 fa 74 00 03 10    cmp    \$0x10030074,%rdx
- +[a-f0-9]+:   48 81 cf 74 00 03 10    or     \$0x10030074,%rdi
- +[a-f0-9]+:   48 81 de 74 00 03 10    sbb    \$0x10030074,%rsi
- +[a-f0-9]+:   48 81 ed 74 00 03 10    sub    \$0x10030074,%rbp
- +[a-f0-9]+:   49 81 f0 74 00 03 10    xor    \$0x10030074,%r8
- +[a-f0-9]+:   49 f7 c7 74 00 03 10    test   \$0x10030074,%r15
- +[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 ce 75 00 03 10       or     \$0x10030075,%esi
- +[a-f0-9]+:   81 df 75 00 03 10       sbb    \$0x10030075,%edi
- +[a-f0-9]+:   81 ed 75 00 03 10       sub    \$0x10030075,%ebp
- +[a-f0-9]+:   41 81 f0 75 00 03 10    xor    \$0x10030075,%r8d
- +[a-f0-9]+:   41 f7 c7 75 00 03 10    test   \$0x10030075,%r15d
- +[a-f0-9]+:   48 81 d0 75 00 03 10    adc    \$0x10030075,%rax
- +[a-f0-9]+:   48 81 c3 75 00 03 10    add    \$0x10030075,%rbx
- +[a-f0-9]+:   48 81 e1 75 00 03 10    and    \$0x10030075,%rcx
- +[a-f0-9]+:   48 81 fa 75 00 03 10    cmp    \$0x10030075,%rdx
- +[a-f0-9]+:   48 81 cf 75 00 03 10    or     \$0x10030075,%rdi
- +[a-f0-9]+:   48 81 de 75 00 03 10    sbb    \$0x10030075,%rsi
- +[a-f0-9]+:   48 81 ed 75 00 03 10    sub    \$0x10030075,%rbp
- +[a-f0-9]+:   49 81 f0 75 00 03 10    xor    \$0x10030075,%r8
- +[a-f0-9]+:   49 f7 c7 75 00 03 10    test   \$0x10030075,%r15
-#pass
index 74cc05962bf1c30e094f08cb72c529b32f592488..e38707c53eceed499514ecbce8abe02b17d0c20d 100644 (file)
@@ -2,7 +2,6 @@
 #as: --x32 -mrelax-relocations=yes
 #ld: -melf32_x86_64 -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw --sym
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/load1c-nacl.d b/ld/testsuite/ld-x86-64/load1c-nacl.d
deleted file mode 100644 (file)
index f677b8d..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#source: load1.s
-#as: --64
-#ld: -shared -melf_x86_64 --hash-style=sysv
-#objdump: -dw
-#target: x86_64-*-nacl*
-
-.*: +file format .*
-
-Disassembly of section .text:
-
-0+ <_start>:
- +[a-f0-9]+:   13 05 9a 02 01 10       adc    0x1001029a\(%rip\),%eax        # 100102a0 <.got>
- +[a-f0-9]+:   03 1d 94 02 01 10       add    0x10010294\(%rip\),%ebx        # 100102a0 <.got>
- +[a-f0-9]+:   23 0d 8e 02 01 10       and    0x1001028e\(%rip\),%ecx        # 100102a0 <.got>
- +[a-f0-9]+:   3b 15 88 02 01 10       cmp    0x10010288\(%rip\),%edx        # 100102a0 <.got>
- +[a-f0-9]+:   0b 35 82 02 01 10       or     0x10010282\(%rip\),%esi        # 100102a0 <.got>
- +[a-f0-9]+:   1b 3d 7c 02 01 10       sbb    0x1001027c\(%rip\),%edi        # 100102a0 <.got>
- +[a-f0-9]+:   2b 2d 76 02 01 10       sub    0x10010276\(%rip\),%ebp        # 100102a0 <.got>
- +[a-f0-9]+:   44 33 05 6f 02 01 10    xor    0x1001026f\(%rip\),%r8d        # 100102a0 <.got>
- +[a-f0-9]+:   44 85 3d 68 02 01 10    test   %r15d,0x10010268\(%rip\)        # 100102a0 <.got>
- +[a-f0-9]+:   48 13 05 61 02 01 10    adc    0x10010261\(%rip\),%rax        # 100102a0 <.got>
- +[a-f0-9]+:   48 03 1d 5a 02 01 10    add    0x1001025a\(%rip\),%rbx        # 100102a0 <.got>
- +[a-f0-9]+:   48 23 0d 53 02 01 10    and    0x10010253\(%rip\),%rcx        # 100102a0 <.got>
- +[a-f0-9]+:   48 3b 15 4c 02 01 10    cmp    0x1001024c\(%rip\),%rdx        # 100102a0 <.got>
- +[a-f0-9]+:   48 0b 3d 45 02 01 10    or     0x10010245\(%rip\),%rdi        # 100102a0 <.got>
- +[a-f0-9]+:   48 1b 35 3e 02 01 10    sbb    0x1001023e\(%rip\),%rsi        # 100102a0 <.got>
- +[a-f0-9]+:   48 2b 2d 37 02 01 10    sub    0x10010237\(%rip\),%rbp        # 100102a0 <.got>
- +[a-f0-9]+:   4c 33 05 30 02 01 10    xor    0x10010230\(%rip\),%r8        # 100102a0 <.got>
- +[a-f0-9]+:   4c 85 3d 29 02 01 10    test   %r15,0x10010229\(%rip\)        # 100102a0 <.got>
- +[a-f0-9]+:   13 05 2b 02 01 10       adc    0x1001022b\(%rip\),%eax        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   03 1d 25 02 01 10       add    0x10010225\(%rip\),%ebx        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   23 0d 1f 02 01 10       and    0x1001021f\(%rip\),%ecx        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   3b 15 19 02 01 10       cmp    0x10010219\(%rip\),%edx        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   0b 35 13 02 01 10       or     0x10010213\(%rip\),%esi        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   1b 3d 0d 02 01 10       sbb    0x1001020d\(%rip\),%edi        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   2b 2d 07 02 01 10       sub    0x10010207\(%rip\),%ebp        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   44 33 05 00 02 01 10    xor    0x10010200\(%rip\),%r8d        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   44 85 3d f9 01 01 10    test   %r15d,0x100101f9\(%rip\)        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 13 05 f2 01 01 10    adc    0x100101f2\(%rip\),%rax        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 03 1d eb 01 01 10    add    0x100101eb\(%rip\),%rbx        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 23 0d e4 01 01 10    and    0x100101e4\(%rip\),%rcx        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 3b 15 dd 01 01 10    cmp    0x100101dd\(%rip\),%rdx        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 0b 3d d6 01 01 10    or     0x100101d6\(%rip\),%rdi        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 1b 35 cf 01 01 10    sbb    0x100101cf\(%rip\),%rsi        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   48 2b 2d c8 01 01 10    sub    0x100101c8\(%rip\),%rbp        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   4c 33 05 c1 01 01 10    xor    0x100101c1\(%rip\),%r8        # 100102a8 <foo-0x21>
- +[a-f0-9]+:   4c 85 3d ba 01 01 10    test   %r15,0x100101ba\(%rip\)        # 100102a8 <foo-0x21>
-#pass
index 3b753529249af63a939e951299828635e3b1f008..db9c69fadbff2672c4ed4afe7dcbd9c4dea92173 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64
 #ld: -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/load1d-nacl.d b/ld/testsuite/ld-x86-64/load1d-nacl.d
deleted file mode 100644 (file)
index db1f7af..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#source: load1.s
-#as: --x32
-#ld: -shared -melf32_x86_64 --hash-style=sysv
-#objdump: -dw
-#target: x86_64-*-nacl*
-
-.*: +file format .*
-
-Disassembly of section .text:
-
-0+ <_start>:
- +[a-f0-9]+:   13 05 8a 01 01 10       adc    0x1001018a\(%rip\),%eax        # 10010190 <.got>
- +[a-f0-9]+:   03 1d 84 01 01 10       add    0x10010184\(%rip\),%ebx        # 10010190 <.got>
- +[a-f0-9]+:   23 0d 7e 01 01 10       and    0x1001017e\(%rip\),%ecx        # 10010190 <.got>
- +[a-f0-9]+:   3b 15 78 01 01 10       cmp    0x10010178\(%rip\),%edx        # 10010190 <.got>
- +[a-f0-9]+:   0b 35 72 01 01 10       or     0x10010172\(%rip\),%esi        # 10010190 <.got>
- +[a-f0-9]+:   1b 3d 6c 01 01 10       sbb    0x1001016c\(%rip\),%edi        # 10010190 <.got>
- +[a-f0-9]+:   2b 2d 66 01 01 10       sub    0x10010166\(%rip\),%ebp        # 10010190 <.got>
- +[a-f0-9]+:   44 33 05 5f 01 01 10    xor    0x1001015f\(%rip\),%r8d        # 10010190 <.got>
- +[a-f0-9]+:   44 85 3d 58 01 01 10    test   %r15d,0x10010158\(%rip\)        # 10010190 <.got>
- +[a-f0-9]+:   48 13 05 51 01 01 10    adc    0x10010151\(%rip\),%rax        # 10010190 <.got>
- +[a-f0-9]+:   48 03 1d 4a 01 01 10    add    0x1001014a\(%rip\),%rbx        # 10010190 <.got>
- +[a-f0-9]+:   48 23 0d 43 01 01 10    and    0x10010143\(%rip\),%rcx        # 10010190 <.got>
- +[a-f0-9]+:   48 3b 15 3c 01 01 10    cmp    0x1001013c\(%rip\),%rdx        # 10010190 <.got>
- +[a-f0-9]+:   48 0b 3d 35 01 01 10    or     0x10010135\(%rip\),%rdi        # 10010190 <.got>
- +[a-f0-9]+:   48 1b 35 2e 01 01 10    sbb    0x1001012e\(%rip\),%rsi        # 10010190 <.got>
- +[a-f0-9]+:   48 2b 2d 27 01 01 10    sub    0x10010127\(%rip\),%rbp        # 10010190 <.got>
- +[a-f0-9]+:   4c 33 05 20 01 01 10    xor    0x10010120\(%rip\),%r8        # 10010190 <.got>
- +[a-f0-9]+:   4c 85 3d 19 01 01 10    test   %r15,0x10010119\(%rip\)        # 10010190 <.got>
- +[a-f0-9]+:   13 05 1b 01 01 10       adc    0x1001011b\(%rip\),%eax        # 10010198 <foo-0x21>
- +[a-f0-9]+:   03 1d 15 01 01 10       add    0x10010115\(%rip\),%ebx        # 10010198 <foo-0x21>
- +[a-f0-9]+:   23 0d 0f 01 01 10       and    0x1001010f\(%rip\),%ecx        # 10010198 <foo-0x21>
- +[a-f0-9]+:   3b 15 09 01 01 10       cmp    0x10010109\(%rip\),%edx        # 10010198 <foo-0x21>
- +[a-f0-9]+:   0b 35 03 01 01 10       or     0x10010103\(%rip\),%esi        # 10010198 <foo-0x21>
- +[a-f0-9]+:   1b 3d fd 00 01 10       sbb    0x100100fd\(%rip\),%edi        # 10010198 <foo-0x21>
- +[a-f0-9]+:   2b 2d f7 00 01 10       sub    0x100100f7\(%rip\),%ebp        # 10010198 <foo-0x21>
- +[a-f0-9]+:   44 33 05 f0 00 01 10    xor    0x100100f0\(%rip\),%r8d        # 10010198 <foo-0x21>
- +[a-f0-9]+:   44 85 3d e9 00 01 10    test   %r15d,0x100100e9\(%rip\)        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 13 05 e2 00 01 10    adc    0x100100e2\(%rip\),%rax        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 03 1d db 00 01 10    add    0x100100db\(%rip\),%rbx        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 23 0d d4 00 01 10    and    0x100100d4\(%rip\),%rcx        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 3b 15 cd 00 01 10    cmp    0x100100cd\(%rip\),%rdx        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 0b 3d c6 00 01 10    or     0x100100c6\(%rip\),%rdi        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 1b 35 bf 00 01 10    sbb    0x100100bf\(%rip\),%rsi        # 10010198 <foo-0x21>
- +[a-f0-9]+:   48 2b 2d b8 00 01 10    sub    0x100100b8\(%rip\),%rbp        # 10010198 <foo-0x21>
- +[a-f0-9]+:   4c 33 05 b1 00 01 10    xor    0x100100b1\(%rip\),%r8        # 10010198 <foo-0x21>
- +[a-f0-9]+:   4c 85 3d aa 00 01 10    test   %r15,0x100100aa\(%rip\)        # 10010198 <foo-0x21>
-#pass
index c7550e28d73185ac2db1cd7dded9aeab0ae8580b..7ccae532f27ad3a0f9ec294b3ddedc08651888f2 100644 (file)
@@ -2,7 +2,6 @@
 #as: --x32
 #ld: -shared -melf32_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/pie3-nacl.d b/ld/testsuite/ld-x86-64/pie3-nacl.d
deleted file mode 100644 (file)
index efb74ed..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#source: pie3.s
-#as: --64
-#ld: -pie -melf_x86_64 --hash-style=sysv
-#objdump: -dw
-#target: x86_64-*-nacl*
-
-.*: +file format .*
-
-
-Disassembly of section .text:
-
-0+ <_start>:
- +0:   48 8d 05 f9 ff ff ff    lea    -0x7\(%rip\),%rax        # 0 <_start>
-#pass
index 6457fbd32fa1a3300164bc802021a9069aaa1e83..b943837bf6424699b3d6d560545a3ca1b856a6fe 100644 (file)
@@ -1,7 +1,6 @@
 #as: --64
 #ld: -pie -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/plt-nacl.pd b/ld/testsuite/ld-x86-64/plt-nacl.pd
deleted file mode 100644 (file)
index 9f572fd..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#source: plt.s
-#as: --64
-#ld: -melf_x86_64_nacl
-#objdump: -drj.plt
-#target: x86_64-*-nacl*
-
-.*: +file format .*
-
-Disassembly of section .plt:
-
-[0-9a-f]+ <.plt>:
- +[0-9a-f]+:   ff 35 ([0-9a-f]{2} ){4} *       pushq  0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
- +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
- +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
- +[0-9a-f]+:   66 0f 1f 84 00 00 00    nopw   0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   66 90                   xchg   %ax,%ax
-
-[0-9a-f]+ <fn1@plt>:
- +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <fn1>
- +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
- +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
- +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   68 00 00 00 00          pushq  \$0x0
- +[0-9a-f]+:   e9 ([0-9a-f]{2} ){4} *  jmpq   [0-9a-f]+ <.plt>
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   0f 1f 80 00 00 00 00    nopl   0x0\(%rax\)
-
-[0-9a-f]+ <fn2@plt>:
- +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <fn2>
- +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
- +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
- +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   68 01 00 00 00          pushq  \$0x1
- +[0-9a-f]+:   e9 ([0-9a-f]{2} ){4} *  jmpq   [0-9a-f]+ <.plt>
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   0f 1f 80 00 00 00 00    nopl   0x0\(%rax\)
diff --git a/ld/testsuite/ld-x86-64/pr17709-nacl.rd b/ld/testsuite/ld-x86-64/pr17709-nacl.rd
deleted file mode 100644 (file)
index beffd3c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-Relocation section '.rela\..*' at offset .* contains 1 entry:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_COPY+[0-9a-f ]+ +foo \+ 0
index ebbda3a6731aa5e6c5ea1fd99f24d4426d4e0c25..b944bbe376ade576d7e21ceb47a1159f6bd8e7a4 100644 (file)
@@ -1,7 +1,6 @@
 #as: --64
 #ld: --gc-sections -melf_x86_64 -T pr18160.t
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format elf32-i386
 
diff --git a/ld/testsuite/ld-x86-64/pr19013-nacl.d b/ld/testsuite/ld-x86-64/pr19013-nacl.d
deleted file mode 100644 (file)
index 990a508..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#source: pr19013.s
-#as: --x32
-#ld: --oformat elf32-i386-nacl
-#objdump: -s -j .rodata
-#target: x86_64-*-nacl*
-
-#...
- [0-9a-f]+ 02030041 42434400 +...ABCD. +
-#pass
index 97fb841996083778b73cdde5bf8de9c182759873..5634b87f7c821293ab0d36c44b142eb55ecd3ae3 100644 (file)
@@ -2,7 +2,6 @@
 #as: --x32
 #ld: --oformat elf32-i386 -m elf32_x86_64
 #objdump: -s -j .rodata
-#notarget: x86_64-*-nacl*
 
 #...
  [0-9a-f]+ 02030041 42434400 +...ABCD. +
index 554e6e8710afd57614d16a890cf1388559eb7922..97137a793e1fbf45b9d865facbd6acc8e31582ac 100644 (file)
@@ -1,7 +1,6 @@
 #as: --64
 #ld: --oformat elf32-i386 -m elf_x86_64
 #objdump: -s -j .rodata
-#notarget: x86_64-*-nacl*
 
 #...
  [0-9a-f]+ 00000203 00414243 4400 +.....ABCD. +
diff --git a/ld/testsuite/ld-x86-64/pr19636-2d-nacl.d b/ld/testsuite/ld-x86-64/pr19636-2d-nacl.d
deleted file mode 100644 (file)
index f584bda..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#source: pr19636-2.s
-#as: --64 -mrelax-relocations=no
-#ld: -pie -m elf_x86_64 --no-dynamic-linker --hash-style=sysv
-#objdump: -dw
-#target: x86_64-*-nacl*
-
-.*: +file format .*
-
-
-Disassembly of section .plt:
-
-0+ <.plt>:
-[      ]*[a-f0-9]+:    ff 35 42 02 01 10       pushq  0x10010242\(%rip\)        # 10010248 <_GLOBAL_OFFSET_TABLE_\+0x8>
-[      ]*[a-f0-9]+:    4c 8b 1d 43 02 01 10    mov    0x10010243\(%rip\),%r11        # 10010250 <_GLOBAL_OFFSET_TABLE_\+0x10>
-[      ]*[a-f0-9]+:    41 83 e3 e0             and    \$0xffffffe0,%r11d
-[      ]*[a-f0-9]+:    4d 01 fb                add    %r15,%r11
-[      ]*[a-f0-9]+:    41 ff e3                jmpq   \*%r11
-[      ]*[a-f0-9]+:    66 0f 1f 84 00 00 00 00 00      nopw   0x0\(%rax,%rax,1\)
-[      ]*[a-f0-9]+:    66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
-[      ]*[a-f0-9]+:    66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
-[      ]*[a-f0-9]+:    66 90                   xchg   %ax,%ax
-[      ]*[a-f0-9]+:    4c 8b 1d 11 02 01 10    mov    0x10010211\(%rip\),%r11        # 10010258 <_GLOBAL_OFFSET_TABLE_\+0x18>
-[      ]*[a-f0-9]+:    41 83 e3 e0             and    \$0xffffffe0,%r11d
-[      ]*[a-f0-9]+:    4d 01 fb                add    %r15,%r11
-[      ]*[a-f0-9]+:    41 ff e3                jmpq   \*%r11
-[      ]*[a-f0-9]+:    66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
-[      ]*[a-f0-9]+:    68 00 00 00 00          pushq  \$0x0
-[      ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   6a <\.plt\+0x6a>
-[      ]*[a-f0-9]+:    66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
-[      ]*[a-f0-9]+:    0f 1f 80 00 00 00 00    nopl   0x0\(%rax\)
-
-Disassembly of section .text:
-
-0+80 <_start>:
-[      ]*[a-f0-9]+:    48 3b 05 a9 01 01 10    cmp    0x100101a9\(%rip\),%rax        # 10010230 <\.got>
-[      ]*[a-f0-9]+:    ff 25 ab 01 01 10       jmpq   \*0x100101ab\(%rip\)        # 10010238 <\.got\+0x8>
-[      ]*[a-f0-9]+:    e8 ae ff ff ff          callq  40 <\.plt\+0x40>
index b0e71d9e0697a2059ee32201e74f229035b13603..1815d2caea3be571a398c94d800e4a37f319f221 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64 -mrelax-relocations=no
 #ld: -pie -m elf_x86_64 --no-dynamic-linker --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index e99c06abc6cbf4f53adc25065f210fd4ef5b3d87..994a6da5bd25815124117ce5debf9aa329c48286 100644 (file)
@@ -3,7 +3,6 @@
 #ld: -pie -m elf_x86_64 --no-dynamic-linker --hash-style=sysv -z dynamic-undefined-weak -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
 #warning: -z dynamic-undefined-weak ignored
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/pr19827-nacl.rd b/ld/testsuite/ld-x86-64/pr19827-nacl.rd
deleted file mode 100644 (file)
index bd70130..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#readelf: -r --wide
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
-    Offset             Info             Type               Symbol's Value  Symbol's Name \+ Addend
-[0-9a-f]+ +[0-9a-f]+ +R_X86_64_RELATIVE +[0-9a-f]+
index 21ff6f3ba978c0fd978cf5accf21a3054ea86ba4..fdf94e1f8c3af67ff53254ec363c2c536352b0b5 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64
 #ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index 34bd4e75948d69befd0e8d39b72279fb6b58d304..aed1605519f6adb1f943280365678fde98be400a 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64
 #ld: -pie -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index cdf10f4c0089131be8f10b703ab99db736dc233e..884d1274a94c07c974882f80ca663a56700f4f35 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64
 #ld: -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index ed903a32b6d608581e31a9800fdc43853d70e42b..d21a7afb88c75e73f4e393a3a38017a0503265f6 100644 (file)
@@ -2,7 +2,6 @@
 #as: --x32
 #ld: -melf32_x86_64 -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index db4895268a8a1dea0b96f48272f6366bbdad9e6f..94365446fa450c1c452627f7966ce2454466eb77 100644 (file)
@@ -2,7 +2,6 @@
 #as: --x32
 #ld: -pie -melf32_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
index 49aa5c156e4a22832c456a62277dca5f62bb2b32..3d37f34859f02dcaa74d481db8c2368a291ad4db 100644 (file)
@@ -2,7 +2,6 @@
 #as: --x32
 #ld: -shared -melf32_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw
-#notarget: x86_64-*-nacl*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/pr21884-nacl.d b/ld/testsuite/ld-x86-64/pr21884-nacl.d
deleted file mode 100644 (file)
index 8883505..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#source: dummy.s
-#as: --64
-#ld: -m elf_x86_64 -T pr21884-nacl.t -b binary
-#objdump: -b binary -s
-#target: x86_64-*-nacl*
-
-.*:     file format binary
-
-Contents of section .data:
-#pass
diff --git a/ld/testsuite/ld-x86-64/pr21884-nacl.t b/ld/testsuite/ld-x86-64/pr21884-nacl.t
deleted file mode 100644 (file)
index 722312e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-OUTPUT_FORMAT("elf64-x86-64-nacl");
-OUTPUT_ARCH(i386:x86-64);
-
-ENTRY(_start);
-SECTIONS {
-        . = 0x10000;
-        _start = . ;
-        .data : {
-                *(.data)
-        }
-}
index 7a2a3f361c63008d890245ba04208db082155515..a62d8bc4f7a9d12e911b26c8e42e7fdb3f1fa9a0 100644 (file)
@@ -2,7 +2,6 @@
 #as: --64
 #ld: -m elf_x86_64 -T pr21884.t -b binary
 #objdump: -b binary -s
-#notarget: x86_64-*-nacl*
 
 .*:     file format binary
 
index 0050f1bdad25ec0bb0a66f1a412a0f67aa7c366f..b17e09b06db2dc5089af1a6a4eb8225a201920ef 100644 (file)
@@ -1,7 +1,7 @@
 #source: pr22393-1.s
 #ld: -shared -z separate-code
 #readelf: -l --wide
-#target: *-*-linux-gnu *-*-gnu* *-*-nacl*
+#target: *-*-linux-gnu *-*-gnu*
 
 #failif
 #...
index 0050f1bdad25ec0bb0a66f1a412a0f67aa7c366f..b17e09b06db2dc5089af1a6a4eb8225a201920ef 100644 (file)
@@ -1,7 +1,7 @@
 #source: pr22393-1.s
 #ld: -shared -z separate-code
 #readelf: -l --wide
-#target: *-*-linux-gnu *-*-gnu* *-*-nacl*
+#target: *-*-linux-gnu *-*-gnu*
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/split-by-file-nacl.rd b/ld/testsuite/ld-x86-64/split-by-file-nacl.rd
deleted file mode 100644 (file)
index 4e3e74a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-There are 9 section headers, starting at offset .*:
-
-Section Headers:
-  \[Nr\] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
-  \[ 0\]                   NULL            0000000000000000 000000 000000 00      0   0  0
-  \[ 1\] .text             PROGBITS        0000000000000000 000040 000000 00  AX  0   0  1
-  \[ 2\] .foo              PROGBITS        0000000000000000 000040 000003 00 AXl  0   0  1
-  \[ 3\] .data             PROGBITS        0000000000000000 000043 000000 00  WA  0   0  1
-  \[ 4\] .bss              NOBITS          0000000000000000 000043 000000 00  WA  0   0  1
-  \[ 5\] .foo.0            PROGBITS        0000000000000003 000043 000003 00 AXl  0   0  1
-  \[ 6\] .symtab           SYMTAB          0000000000000000 [0-9a-f]+ [0-9a-f]+ 18      7   [0-9]  8
-  \[ 7\] .strtab           STRTAB          0000000000000000 [0-9a-f]+ [0-9a-f]+ 00      0   0  1
-  \[ 8\] .shstrtab         STRTAB          0000000000000000 [0-9a-f]+ 000038 00      0   0  1
-Key to Flags:
-#pass
diff --git a/ld/testsuite/ld-x86-64/tlsbin-nacl.rd b/ld/testsuite/ld-x86-64/tlsbin-nacl.rd
deleted file mode 100644 (file)
index 15f28ac..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#source: tlsbinpic.s
-#source: tlsbin.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrl
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
- +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[[ 0-9]+\] .plt +.*
- +\[[ 0-9]+\] .text +PROGBITS +0+21000 [0-9a-f]+ 0+231 00 +AX +0 +0 +4096
- +\[[ 0-9]+\] .interp +.*
- +\[[ 0-9]+\] .hash +.*
- +\[[ 0-9]+\] .dynsym +.*
- +\[[ 0-9]+\] .dynstr +.*
- +\[[ 0-9]+\] .rela.dyn +.*
- +\[[ 0-9]+\] .rela.plt +.*
- +\[[ 0-9]+\] .tdata +PROGBITS +0+10030348 [0-9a-f]+ 0+60 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .tbss +NOBITS +0+100303a8 [0-9a-f]+ 0+40 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .dynamic +DYNAMIC +0+100303a8 [0-9a-f]+ 0+140 10 +WA +6 +0 +8
- +\[[ 0-9]+\] .got +PROGBITS +0+100304e8 [0-9a-f]+ 0+20 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .got.plt +PROGBITS +0+10030508 [0-9a-f]+ 0+20 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .symtab +.*
- +\[[ 0-9]+\] .strtab +.*
- +\[[ 0-9]+\] .shstrtab +.*
-Key to Flags:
-#...
-
-Elf file type is EXEC \(Executable file\)
-Entry point 0x21139
-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 +0x0+10000 0x0+20000 0x0+20000 0x0+10000 0x0+10000 R E +0x10000
- +LOAD +0x0+ 0x0+10020000 0x0+10020000 0x0+348 0x0+348 R +0x10000
- +LOAD +0x0+348 0x0+10030348 0x0+10030348 0x0+1e0 0x0+1e0 RW +0x10000
- +DYNAMIC +0x0+3a8 0x0+100303a8 0x0+100303a8 0x0+140 0x0+140 RW +0x8
- +TLS +0x0+348 0x0+10030348 0x0+10030348 0x0+60 0x0+a0 R +0x1
-
- Section to Segment mapping:
- +Segment Sections...
- +00 *
- +01 +.interp *
- +02 +.plt .text *
- +03 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt *
- +04 +.tdata .dynamic .got .got.plt *
- +05 +.dynamic *
- +06 +.tdata .tbss *
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG5 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG2 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG6 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG1 \+ 0
-
-Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_JUMP_SLOT[0-9a-f ]+__tls_get_addr \+ 0
-
-Symbol table '\.dynsym' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* TLS +GLOBAL +DEFAULT +UND sG5
-.* TLS +GLOBAL +DEFAULT +UND sG2
-.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +DEFAULT +UND sG6
-.* TLS +GLOBAL +DEFAULT +UND sG1
-
-Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* SECTION +LOCAL +DEFAULT +1 *
-.* SECTION +LOCAL +DEFAULT +2 *
-.* SECTION +LOCAL +DEFAULT +3 *
-.* SECTION +LOCAL +DEFAULT +4 *
-.* SECTION +LOCAL +DEFAULT +5 *
-.* SECTION +LOCAL +DEFAULT +6 *
-.* SECTION +LOCAL +DEFAULT +7 *
-.* SECTION +LOCAL +DEFAULT +8 *
-.* SECTION +LOCAL +DEFAULT +9 *
-.* SECTION +LOCAL +DEFAULT +10 *
-.* SECTION +LOCAL +DEFAULT +11 *
-.* SECTION +LOCAL +DEFAULT +12 *
-.* SECTION +LOCAL +DEFAULT +13 *
-.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbinpic.o
-.* TLS +LOCAL +DEFAULT +9 sl1
-.* TLS +LOCAL +DEFAULT +9 sl2
-.* TLS +LOCAL +DEFAULT +9 sl3
-.* TLS +LOCAL +DEFAULT +9 sl4
-.* TLS +LOCAL +DEFAULT +9 sl5
-.* TLS +LOCAL +DEFAULT +9 sl6
-.* TLS +LOCAL +DEFAULT +9 sl7
-.* TLS +LOCAL +DEFAULT +9 sl8
-.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbin.o
-.* TLS +LOCAL +DEFAULT +10 bl1
-.* TLS +LOCAL +DEFAULT +10 bl2
-.* TLS +LOCAL +DEFAULT +10 bl3
-.* TLS +LOCAL +DEFAULT +10 bl4
-.* TLS +LOCAL +DEFAULT +10 bl5
-.* TLS +LOCAL +DEFAULT +10 bl6
-.* TLS +LOCAL +DEFAULT +10 bl7
-.* TLS +LOCAL +DEFAULT +10 bl8
-.* FILE +LOCAL +DEFAULT +ABS 
-.* OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
-.* OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_
-.* TLS +GLOBAL +DEFAULT +9 sg8
-.* TLS +GLOBAL +DEFAULT +10 bg8
-.* TLS +GLOBAL +DEFAULT +10 bg6
-.* TLS +GLOBAL +DEFAULT +UND sG5
-.* TLS +GLOBAL +DEFAULT +10 bg3
-.* TLS +GLOBAL +DEFAULT +9 sg3
-.* TLS +GLOBAL +HIDDEN +9 sh3
-.* TLS +GLOBAL +DEFAULT +UND sG2
-.* TLS +GLOBAL +DEFAULT +9 sg4
-.* TLS +GLOBAL +DEFAULT +9 sg5
-.* TLS +GLOBAL +DEFAULT +10 bg5
-.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +HIDDEN +9 sh7
-.* TLS +GLOBAL +HIDDEN +9 sh8
-.* TLS +GLOBAL +DEFAULT +9 sg1
-.* FUNC +GLOBAL +DEFAULT +2 _start
-.* TLS +GLOBAL +HIDDEN +9 sh4
-.* TLS +GLOBAL +DEFAULT +10 bg7
-.* TLS +GLOBAL +HIDDEN +9 sh5
-.* NOTYPE +GLOBAL +DEFAULT +13 __bss_start
-.* TLS +GLOBAL +DEFAULT +UND sG6
-.* FUNC +GLOBAL +DEFAULT +2 fn2
-.* TLS +GLOBAL +DEFAULT +9 sg2
-.* TLS +GLOBAL +DEFAULT +UND sG1
-.* TLS +GLOBAL +HIDDEN +9 sh1
-.* TLS +GLOBAL +DEFAULT +9 sg6
-.* TLS +GLOBAL +DEFAULT +9 sg7
-.* NOTYPE +GLOBAL +DEFAULT +13 _edata
-.* NOTYPE +GLOBAL +DEFAULT +13 _end
-.* TLS +GLOBAL +HIDDEN +9 sh2
-.* TLS +GLOBAL +HIDDEN +9 sh6
-.* TLS +GLOBAL +DEFAULT +10 bg2
-.* TLS +GLOBAL +DEFAULT +10 bg1
-.* TLS +GLOBAL +DEFAULT +10 bg4
diff --git a/ld/testsuite/ld-x86-64/tlsbin2-nacl.rd b/ld/testsuite/ld-x86-64/tlsbin2-nacl.rd
deleted file mode 100644 (file)
index ffaf585..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-#source: tlsbinpic2.s
-#source: tlsbin.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrl
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
- +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[[ 0-9]+\] .text +PROGBITS +0+20000 [0-9a-f]+ 0+233 00 +AX +0 +0 +4096
- +\[[ 0-9]+\] .interp +.*
- +\[[ 0-9]+\] .hash +.*
- +\[[ 0-9]+\] .dynsym +.*
- +\[[ 0-9]+\] .dynstr +.*
- +\[[ 0-9]+\] .rela.dyn +.*
- +\[[ 0-9]+\] .tdata +PROGBITS +0+10030348 [0-9a-f]+ 0+60 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .tbss +NOBITS +0+100303a8 [0-9a-f]+ 0+40 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .dynamic +DYNAMIC +0+100303a8 [0-9a-f]+ 0+100 10 +WA +5 +0 +8
- +\[[ 0-9]+\] .got +PROGBITS +0+100304a8 [0-9a-f]+ 0+28 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .got.plt +PROGBITS +0+100304d0 [0-9a-f]+ 0+18 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .symtab +.*
- +\[[ 0-9]+\] .strtab +.*
- +\[[ 0-9]+\] .shstrtab +.*
-Key to Flags:
-#...
-
-Elf file type is EXEC \(Executable file\)
-Entry point 0x2013b
-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 +0x0+10000 0x0+20000 0x0+20000 0x0+10000 0x0+10000 R E +0x10000
- +LOAD +0x0+ 0x0+10020000 0x0+10020000 0x0+348 0x0+348 R +0x10000
- +LOAD +0x0+348 0x0+10030348 0x0+10030348 0x0+1a0 0x0+1a0 RW +0x10000
- +DYNAMIC +0x0+3a8 0x0+100303a8 0x0+100303a8 0x0+100 0x0+100 RW +0x8
- +TLS +0x0+348 0x0+10030348 0x0+10030348 0x0+60 0x0+a0 R +0x1
-
- Section to Segment mapping:
- +Segment Sections...
- +00 *
- +01 +.interp *
- +02 +.text *
- +03 +.interp .hash .dynsym .dynstr .rela.dyn *
- +04 +.tdata .dynamic .got .got.plt *
- +05 +.dynamic *
- +06 +.tdata .tbss *
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 5 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG5 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG2 \+ 0
-[0-9a-f ]+R_X86_64_GLOB_DAT +0+ __tls_get_addr \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG6 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+ sG1 \+ 0
-
-Symbol table '\.dynsym' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* TLS +GLOBAL +DEFAULT +UND sG5
-.* TLS +GLOBAL +DEFAULT +UND sG2
-.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +DEFAULT +UND sG6
-.* TLS +GLOBAL +DEFAULT +UND sG1
-
-Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* SECTION +LOCAL +DEFAULT +1 *
-.* SECTION +LOCAL +DEFAULT +2 *
-.* SECTION +LOCAL +DEFAULT +3 *
-.* SECTION +LOCAL +DEFAULT +4 *
-.* SECTION +LOCAL +DEFAULT +5 *
-.* SECTION +LOCAL +DEFAULT +6 *
-.* SECTION +LOCAL +DEFAULT +7 *
-.* SECTION +LOCAL +DEFAULT +8 *
-.* SECTION +LOCAL +DEFAULT +9 *
-.* SECTION +LOCAL +DEFAULT +10 *
-.* SECTION +LOCAL +DEFAULT +11 *
-.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbinpic2.o
-.* TLS +LOCAL +DEFAULT +7 sl1
-.* TLS +LOCAL +DEFAULT +7 sl2
-.* TLS +LOCAL +DEFAULT +7 sl3
-.* TLS +LOCAL +DEFAULT +7 sl4
-.* TLS +LOCAL +DEFAULT +7 sl5
-.* TLS +LOCAL +DEFAULT +7 sl6
-.* TLS +LOCAL +DEFAULT +7 sl7
-.* TLS +LOCAL +DEFAULT +7 sl8
-.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsbin.o
-.* TLS +LOCAL +DEFAULT +8 bl1
-.* TLS +LOCAL +DEFAULT +8 bl2
-.* TLS +LOCAL +DEFAULT +8 bl3
-.* TLS +LOCAL +DEFAULT +8 bl4
-.* TLS +LOCAL +DEFAULT +8 bl5
-.* TLS +LOCAL +DEFAULT +8 bl6
-.* TLS +LOCAL +DEFAULT +8 bl7
-.* TLS +LOCAL +DEFAULT +8 bl8
-.* FILE +LOCAL +DEFAULT +ABS 
-.* OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
-.* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
-.* TLS +GLOBAL +DEFAULT +7 sg8
-.* TLS +GLOBAL +DEFAULT +8 bg8
-.* TLS +GLOBAL +DEFAULT +8 bg6
-.* TLS +GLOBAL +DEFAULT +UND sG5
-.* TLS +GLOBAL +DEFAULT +8 bg3
-.* TLS +GLOBAL +DEFAULT +7 sg3
-.* TLS +GLOBAL +HIDDEN +7 sh3
-.* TLS +GLOBAL +DEFAULT +UND sG2
-.* TLS +GLOBAL +DEFAULT +7 sg4
-.* TLS +GLOBAL +DEFAULT +7 sg5
-.* TLS +GLOBAL +DEFAULT +8 bg5
-.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +HIDDEN +7 sh7
-.* TLS +GLOBAL +HIDDEN +7 sh8
-.* TLS +GLOBAL +DEFAULT +7 sg1
-.* FUNC +GLOBAL +DEFAULT +1 _start
-.* TLS +GLOBAL +HIDDEN +7 sh4
-.* TLS +GLOBAL +DEFAULT +8 bg7
-.* TLS +GLOBAL +HIDDEN +7 sh5
-.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start
-.* TLS +GLOBAL +DEFAULT +UND sG6
-.* FUNC +GLOBAL +DEFAULT +1 fn2
-.* TLS +GLOBAL +DEFAULT +7 sg2
-.* TLS +GLOBAL +DEFAULT +UND sG1
-.* TLS +GLOBAL +HIDDEN +7 sh1
-.* TLS +GLOBAL +DEFAULT +7 sg6
-.* TLS +GLOBAL +DEFAULT +7 sg7
-.* NOTYPE +GLOBAL +DEFAULT +11 _edata
-.* NOTYPE +GLOBAL +DEFAULT +11 _end
-.* TLS +GLOBAL +HIDDEN +7 sh2
-.* TLS +GLOBAL +HIDDEN +7 sh6
-.* TLS +GLOBAL +DEFAULT +8 bg2
-.* TLS +GLOBAL +DEFAULT +8 bg1
-.* TLS +GLOBAL +DEFAULT +8 bg4
diff --git a/ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd b/ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd
deleted file mode 100644 (file)
index 670958a..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-#source: tlsbindesc.s
-#source: tlsbin.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrl
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
- +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[[ 0-9]+\] .text +PROGBITS +0+20000 0+10000 0+1fd 00 +AX +0 +0 +4096
- +\[[ 0-9]+\] .interp +.*
- +\[[ 0-9]+\] .hash +.*
- +\[[ 0-9]+\] .dynsym +.*
- +\[[ 0-9]+\] .dynstr +.*
- +\[[ 0-9]+\] .rela.dyn +.*
- +\[[ 0-9]+\] .tdata +PROGBITS +0+10030300 0+300 0+60 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .tbss +NOBITS +0+10030360 0+360 0+40 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .dynamic +DYNAMIC +0+10030360 0+360 0+100 10 +WA +5 +0 +8
- +\[[ 0-9]+\] .got +PROGBITS +0+10030460 0+460 0+20 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .got.plt +PROGBITS +0+10030480 0+480 0+18 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .symtab +.*
- +\[[ 0-9]+\] .strtab +.*
- +\[[ 0-9]+\] .shstrtab +.*
-Key to Flags:
-#...
-
-Elf file type is EXEC \(Executable file\)
-Entry point 0x20105
-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 +0x0+10000 0x0+20000 0x0+20000 0x0+10000 0x0+10000 R E 0x10000
- +LOAD +0x0+ 0x0+10020000 0x0+10020000 0x0+300 0x0+300 R +0x10000
- +LOAD +0x0+300 0x0+10030300 0x0+10030300 0x0+198 0x0+198 RW +0x10000
- +DYNAMIC +0x0+360 0x0+10030360 0x0+10030360 0x0+100 0x0+100 RW +0x8
- +TLS +0x0+300 0x0+10030300 0x0+10030300 0x0+60 0x0+a0 R +0x1
-
- Section to Segment mapping:
- +Segment Sections...
- +00 *
- +01 +.interp *
- +02 +.text *
- +03 +.interp .hash .dynsym .dynstr .rela.dyn *
- +04 +.tdata .dynamic .got .got.plt *
- +05 +.dynamic *
- +06 +.tdata .tbss *
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-0+10030460 +0+100000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0
-0+10030468 +0+200000012 R_X86_64_TPOFF64 +0+ sG2 \+ 0
-0+10030470 +0+300000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0
-0+10030478 +0+400000012 R_X86_64_TPOFF64 +0+ sG1 \+ 0
-
-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 sG5
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
-
-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]+: 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 tmpdir/tlsbin.o
- +[0-9]+: 0+80 +0 +TLS +LOCAL +DEFAULT +8 bl1
- +[0-9]+: 0+84 +0 +TLS +LOCAL +DEFAULT +8 bl2
- +[0-9]+: 0+88 +0 +TLS +LOCAL +DEFAULT +8 bl3
- +[0-9]+: 0+8c +0 +TLS +LOCAL +DEFAULT +8 bl4
- +[0-9]+: 0+90 +0 +TLS +LOCAL +DEFAULT +8 bl5
- +[0-9]+: 0+94 +0 +TLS +LOCAL +DEFAULT +8 bl6
- +[0-9]+: 0+98 +0 +TLS +LOCAL +DEFAULT +8 bl7
- +[0-9]+: 0+9c +0 +TLS +LOCAL +DEFAULT +8 bl8
-.* FILE +LOCAL +DEFAULT +ABS 
- +[0-9]+: 0+a0 +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_
- +[0-9]+: 0+10030360 +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
- +[0-9]+: 0+10030480 +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8
- +[0-9]+: 0+7c +0 +TLS +GLOBAL +DEFAULT +8 bg8
- +[0-9]+: 0+74 +0 +TLS +GLOBAL +DEFAULT +8 bg6
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
- +[0-9]+: 0+68 +0 +TLS +GLOBAL +DEFAULT +8 bg3
- +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3
- +[0-9]+: 0+48 +0 +TLS +GLOBAL +HIDDEN +7 sh3
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
- +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4
- +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5
- +[0-9]+: 0+70 +0 +TLS +GLOBAL +DEFAULT +8 bg5
- +[0-9]+: 0+58 +0 +TLS +GLOBAL +HIDDEN +7 sh7
- +[0-9]+: 0+5c +0 +TLS +GLOBAL +HIDDEN +7 sh8
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1
- +[0-9]+: 0+20105 +0 +FUNC +GLOBAL +DEFAULT +1 _start
- +[0-9]+: 0+4c +0 +TLS +GLOBAL +HIDDEN +7 sh4
- +[0-9]+: 0+78 +0 +TLS +GLOBAL +DEFAULT +8 bg7
- +[0-9]+: 0+50 +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]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
- +[0-9]+: 0+40 +0 +TLS +GLOBAL +HIDDEN +7 sh1
- +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6
- +[0-9]+: 0+18 +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]+: 0+44 +0 +TLS +GLOBAL +HIDDEN +7 sh2
- +[0-9]+: 0+54 +0 +TLS +GLOBAL +HIDDEN +7 sh6
- +[0-9]+: 0+64 +0 +TLS +GLOBAL +DEFAULT +8 bg2
- +[0-9]+: 0+60 +0 +TLS +GLOBAL +DEFAULT +8 bg1
- +[0-9]+: 0+6c +0 +TLS +GLOBAL +DEFAULT +8 bg4
diff --git a/ld/testsuite/ld-x86-64/tlsdesc-nacl.pd b/ld/testsuite/ld-x86-64/tlsdesc-nacl.pd
deleted file mode 100644 (file)
index f744f0e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#source: tlsdesc.s
-#source: tlspic2.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#objdump: -drj.plt
-#target: x86_64-*-nacl*
-
-.*: +file format elf64-x86-64-nacl
-
-Disassembly of section .plt:
-
-[0-9a-f]+ <.plt>:
- +[0-9a-f]+:   ff 35 .. .. .. ..       pushq  0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[0-9a-f]+:   4c 8b 1d .. .. .. ..    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
- +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
- +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
- +[0-9a-f]+:   66 0f 1f 84 00 00 00    nopw   0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   66 90                   xchg   %ax,%ax
- +[0-9a-f]+:   ff 35 .. .. .. ..       pushq  0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[0-9a-f]+:   4c 8b 1d .. .. .. ..    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <.*>
- +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
- +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
- +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
- +[0-9a-f]+:   66 0f 1f 84 00 00 00    nopw   0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   66 66 66 66 66 66 2e    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
- +[0-9a-f]+:   0f 1f 84 00 00 00 00 *
- +[0-9a-f]+:   00 *
- +[0-9a-f]+:   66 90                   xchg   %ax,%ax
diff --git a/ld/testsuite/ld-x86-64/tlsdesc-nacl.rd b/ld/testsuite/ld-x86-64/tlsdesc-nacl.rd
deleted file mode 100644 (file)
index 1a7c693..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-#source: tlsdesc.s
-#source: tlspic2.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrld
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
- +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[[ 0-9]+\] .plt +PROGBITS +0+ [0-9a-f]+ +0+80 +40 +AX +0 +0 +32
- +\[[ 0-9]+\] .text +PROGBITS +0+1000 [0-9a-f]+ +0+153 00 +AX +0 +0 4096
- +\[[ 0-9]+\] .hash +.*
- +\[[ 0-9]+\] .dynsym +.*
- +\[[ 0-9]+\] .dynstr +.*
- +\[[ 0-9]+\] .rela.dyn +.*
- +\[[ 0-9]+\] .rela.plt +.*
- +\[[ 0-9]+\] .tdata +PROGBITS +0+100103e8 [0-9a-f]+ +0+60 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .tbss +NOBITS +0+10010448 [0-9a-f]+ 0+20 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .dynamic +DYNAMIC +0+10010448 [0-9a-f]+ 0+150 10 +WA +5 +0 +8
- +\[[ 0-9]+\] .got +PROGBITS +0+10010598 [0-9a-f]+ 0+48 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .got.plt +PROGBITS +0+100105e0 [0-9a-f]+ 0+68 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .symtab +.*
- +\[[ 0-9]+\] .strtab +.*
- +\[[ 0-9]+\] .shstrtab +.*
-Key to Flags:
-#...
-
-Elf file type is DYN \(Shared object file\)
-Entry point 0x1000
-There are [0-9]+ program headers, starting at offset [0-9]+
-
-Program Headers:
- +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
- +LOAD +0x[0-9a-f]+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x10000
- +LOAD +0x[0-9a-f]+ 0x0+10000000 0x0+10000000 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x10000
- +LOAD +0x[0-9a-f]+ 0x0+100103e8 0x0+100103e8 0x0+260 0x0+260 RW +0x10000
- +DYNAMIC +0x[0-9a-f]+ 0x0+10010448 0x0+10010448 0x0+150 0x0+150 RW +0x8
- +TLS +0x[0-9a-f]+ 0x0+100103e8 0x0+100103e8 0x0+60 0x0+80 R +0x1
-
- Section to Segment mapping:
- +Segment Sections...
- +00 +.plt .text *
- +01 +.hash .dynsym .dynstr .rela.dyn .rela.plt *
- +02 +.tdata .dynamic .got .got.plt *
- +03 +.dynamic *
- +04 +.tdata .tbss *
-
-Dynamic section at offset 0x[0-9a-f]+ contains 16 entries:
- +Tag +Type +Name/Value
- 0x[0-9a-f]+ +\(HASH\).*
- 0x[0-9a-f]+ +\(STRTAB\).*
- 0x[0-9a-f]+ +\(SYMTAB\).*
- 0x[0-9a-f]+ +\(STRSZ\).*
- 0x[0-9a-f]+ +\(SYMENT\).*
- 0x[0-9a-f]+ +\(PLTGOT\).*
- 0x[0-9a-f]+ +\(PLTRELSZ\).*
- 0x[0-9a-f]+ +\(PLTREL\).*
- 0x[0-9a-f]+ +\(JMPREL\).*
- 0x[0-9a-f]+ +\(TLSDESC_PLT\) +0x40
- 0x[0-9a-f]+ +\(TLSDESC_GOT\) +0x100105d8
- 0x[0-9a-f]+ +\(RELA\).*
- 0x[0-9a-f]+ +\(RELASZ\).*
- 0x[0-9a-f]+ +\(RELAENT\).*
- 0x[0-9a-f]+ +\(FLAGS\).*
- 0x[0-9a-f]+ +\(NULL\).*
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-0+10010598 +[0-9a-f]+ R_X86_64_TPOFF64 +24
-0+100105a0 +[0-9a-f]+ R_X86_64_TPOFF64 +30
-0+100105a8 +[0-9a-f]+ R_X86_64_TPOFF64 +64
-0+100105b8 +[0-9a-f]+ R_X86_64_TPOFF64 +50
-0+100105c0 +[0-9a-f]+ R_X86_64_TPOFF64 +70
-0+100105d0 +[0-9a-f]+ R_X86_64_TPOFF64 +44
-0+100105b0 +[0-9a-f]+ R_X86_64_TPOFF64 +0+10 sg5 \+ 0
-0+100105c8 +[0-9a-f]+ R_X86_64_TPOFF64 +0+4 sg2 \+ 0
-
-Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 5 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-0+10010628 +[0-9a-f]+ R_X86_64_TLSDESC +0+ sg1 \+ 0
-0+100105f8 +[0-9a-f]+ R_X86_64_TLSDESC +20
-0+10010638 +[0-9a-f]+ R_X86_64_TLSDESC +40
-0+10010608 +[0-9a-f]+ R_X86_64_TLSDESC +60
-0+10010618 +[0-9a-f]+ R_X86_64_TLSDESC +0
-
-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+1000 +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
-
-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/tlsdesc.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+ +0 +TLS +LOCAL +DEFAULT +8 _TLS_MODULE_BASE_
- +[0-9]+: 0+10010448 +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+100105e0 +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+1000 +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
index 6c3ca5cffd697507da2315eadd42e17af4fa5878..7a69f61773abe8f2f6ddeec07d8c56129e9266cc 100644 (file)
@@ -2,7 +2,7 @@
 #as: --64
 #ld: -melf_x86_64 tmpdir/tlsgd10
 #objdump: -drwj.text
-#target: x86_64-*-linux* x86_64-*-nacl*
+#target: x86_64-*-linux*
 
 .*: +file format .*
 
index c2e2621c0afa5540857ed1121879b4b0c0ef0f25..5aa2bd9a0b52fb7b10f5bb575567ef8dc01c76e0 100644 (file)
@@ -2,7 +2,7 @@
 #as: --64
 #ld: -melf_x86_64 tmpdir/tlsgd5
 #objdump: -drw
-#target: x86_64-*-linux* x86_64-*-nacl*
+#target: x86_64-*-linux*
 
 .*: +file format .*
 
index 2bb1132ce1b5097b4efd4b5f7344c6aadbc2cffb..f9cac0b21687fab7895a1343861285690420b70f 100644 (file)
@@ -2,7 +2,7 @@
 #as: --64
 #ld: -melf_x86_64 tmpdir/tlsgd8
 #objdump: -drwj.text
-#target: x86_64-*-linux* x86_64-*-nacl*
+#target: x86_64-*-linux*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd b/ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd
deleted file mode 100644 (file)
index b0421d9..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-#source: tlsgdesc.s
-#as: --64
-#ld: -shared -melf64_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrl
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +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]+\] \.rela.dyn +.*
- +\[[ 0-9]+\] \.rela.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 .rela.dyn .rela.plt *
- +02 +.dynamic .got .got.plt *
- +03 +.dynamic *
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f]+ +0+100000012 R_X86_64_TPOFF64 +0+ sG3 \+ 0
-[0-9a-f]+ +0+200000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0
-[0-9a-f]+ +0+300000010 R_X86_64_DTPMOD64 +0+ sG2 \+ 0
-[0-9a-f]+ +0+300000011 R_X86_64_DTPOFF64 +0+ sG2 \+ 0
-[0-9a-f]+ +0+400000012 R_X86_64_TPOFF64 +0+ sG4 \+ 0
-[0-9a-f]+ +0+600000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0
-[0-9a-f]+ +0+800000010 R_X86_64_DTPMOD64 +0+ sG1 \+ 0
-[0-9a-f]+ +0+800000011 R_X86_64_DTPOFF64 +0+ sG1 \+ 0
-
-Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 3 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f]+ +0+500000007 R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0
-[0-9a-f]+ +0+800000024 R_X86_64_TLSDESC +0+ sG1 \+ 0
-[0-9a-f]+ +0+300000024 R_X86_64_TLSDESC +0+ sG2 \+ 0
-
-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 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
- +[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
-
-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 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
- +[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
diff --git a/ld/testsuite/ld-x86-64/tlspic-nacl.rd b/ld/testsuite/ld-x86-64/tlspic-nacl.rd
deleted file mode 100644 (file)
index f4f8772..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-#source: tlspic1.s
-#source: tlspic2.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrl
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
- +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[[ 0-9]+\] .plt +.*
- +\[[ 0-9]+\] .text +PROGBITS +0+1000 [0-9a-f]+ 0+31a 00 +AX +0 +0 4096
- +\[[ 0-9]+\] .hash +.*
- +\[[ 0-9]+\] .dynsym +.*
- +\[[ 0-9]+\] .dynstr +.*
- +\[[ 0-9]+\] .rela.dyn +.*
- +\[[ 0-9]+\] .rela.plt +.*
- +\[[ 0-9]+\] .tdata +PROGBITS +0+10010440 [0-9a-f]+ 0+60 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .tbss +NOBITS +0+100104a0 [0-9a-f]+ 0+20 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .dynamic +DYNAMIC +0+100104a0 [0-9a-f]+ 0+130 10 +WA +5 +0 +8
- +\[[ 0-9]+\] .got +PROGBITS +0+100105d0 [0-9a-f]+ 0+90 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .got.plt +PROGBITS +0+10010660 [0-9a-f]+ 0+20 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .symtab +.*
- +\[[ 0-9]+\] .strtab +.*
- +\[[ 0-9]+\] .shstrtab +.*
-Key to Flags:
-#...
-
-Elf file type is DYN \(Shared object file\)
-Entry point 0x1000
-There are [0-9]+ program headers, starting at offset [0-9]+
-
-Program Headers:
- +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
- +LOAD +0x0+10000 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x10000
- +LOAD +0x0+ 0x0+10000000 0x0+10000000 0x0+440 0x0+440 R +0x10000
- +LOAD +0x0+440 0x0+10010440 0x0+10010440 0x0+240 0x0+240 RW +0x10000
- +DYNAMIC +0x0+4a0 0x0+100104a0 0x0+100104a0 0x0+130 0x0+130 RW +0x8
- +TLS +0x0+440 0x0+10010440 0x0+10010440 0x0+60 0x0+80 R +0x1
-
- Section to Segment mapping:
- +Segment Sections...
- +00 +.plt .text *
- +01 +.hash .dynsym .dynstr .rela.dyn .rela.plt *
- +02 +.tdata .dynamic .got .got.plt *
- +03 +.dynamic *
- +04 +.tdata .tbss *
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_TPOFF64 +24
-[0-9a-f ]+R_X86_64_TPOFF64 +30
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_TPOFF64 +64
-[0-9a-f ]+R_X86_64_TPOFF64 +50
-[0-9a-f ]+R_X86_64_TPOFF64 +70
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_TPOFF64 +44
-[0-9a-f ]+R_X86_64_TPOFF64 +0+10 sg5 \+ 0
-[0-9a-f ]+R_X86_64_DTPMOD64 +0+ sg1 \+ 0
-[0-9a-f ]+R_X86_64_DTPOFF64 +0+ sg1 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+4 sg2 \+ 0
-
-Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0
-
-Symbol table '\.dynsym' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* TLS +GLOBAL +DEFAULT +8 sg8
-.* TLS +GLOBAL +DEFAULT +8 sg3
-.* TLS +GLOBAL +DEFAULT +8 sg4
-.* TLS +GLOBAL +DEFAULT +8 sg5
-.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +DEFAULT +8 sg1
-.* FUNC +GLOBAL +DEFAULT +2 fn1
-.* TLS +GLOBAL +DEFAULT +8 sg2
-.* TLS +GLOBAL +DEFAULT +8 sg6
-.* TLS +GLOBAL +DEFAULT +8 sg7
-
-Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* SECTION +LOCAL +DEFAULT +1 *
-.* SECTION +LOCAL +DEFAULT +2 *
-.* SECTION +LOCAL +DEFAULT +3 *
-.* SECTION +LOCAL +DEFAULT +4 *
-.* SECTION +LOCAL +DEFAULT +5 *
-.* SECTION +LOCAL +DEFAULT +6 *
-.* SECTION +LOCAL +DEFAULT +7 *
-.* SECTION +LOCAL +DEFAULT +8 *
-.* SECTION +LOCAL +DEFAULT +9 *
-.* SECTION +LOCAL +DEFAULT +10 *
-.* SECTION +LOCAL +DEFAULT +11 *
-.* SECTION +LOCAL +DEFAULT +12 *
-.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlspic1.o
-.* TLS +LOCAL +DEFAULT +8 sl1
-.* TLS +LOCAL +DEFAULT +8 sl2
-.* TLS +LOCAL +DEFAULT +8 sl3
-.* TLS +LOCAL +DEFAULT +8 sl4
-.* TLS +LOCAL +DEFAULT +8 sl5
-.* TLS +LOCAL +DEFAULT +8 sl6
-.* TLS +LOCAL +DEFAULT +8 sl7
-.* TLS +LOCAL +DEFAULT +8 sl8
-.* FILE +LOCAL +DEFAULT +ABS 
-.* TLS +LOCAL +DEFAULT +9 sH1
-.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
-.* TLS +LOCAL +DEFAULT +8 sh3
-.* TLS +LOCAL +DEFAULT +9 sH2
-.* TLS +LOCAL +DEFAULT +9 sH7
-.* TLS +LOCAL +DEFAULT +8 sh7
-.* TLS +LOCAL +DEFAULT +8 sh8
-.* TLS +LOCAL +DEFAULT +9 sH4
-.* TLS +LOCAL +DEFAULT +8 sh4
-.* TLS +LOCAL +DEFAULT +9 sH3
-.* TLS +LOCAL +DEFAULT +8 sh5
-.* TLS +LOCAL +DEFAULT +9 sH5
-.* TLS +LOCAL +DEFAULT +9 sH6
-.* TLS +LOCAL +DEFAULT +9 sH8
-.* TLS +LOCAL +DEFAULT +8 sh1
-.* OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +DEFAULT +8 sh2
-.* TLS +LOCAL +DEFAULT +8 sh6
-.* TLS +GLOBAL +DEFAULT +8 sg8
-.* TLS +GLOBAL +DEFAULT +8 sg3
-.* TLS +GLOBAL +DEFAULT +8 sg4
-.* TLS +GLOBAL +DEFAULT +8 sg5
-.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +DEFAULT +8 sg1
-.* FUNC +GLOBAL +DEFAULT +2 fn1
-.* TLS +GLOBAL +DEFAULT +8 sg2
-.* TLS +GLOBAL +DEFAULT +8 sg6
-.* TLS +GLOBAL +DEFAULT +8 sg7
diff --git a/ld/testsuite/ld-x86-64/tlspic2-nacl.rd b/ld/testsuite/ld-x86-64/tlspic2-nacl.rd
deleted file mode 100644 (file)
index d6082d6..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-#source: tlspic3.s
-#source: tlspic2.s
-#as: --64
-#ld: -shared -melf_x86_64_nacl --no-ld-generated-unwind-info
-#readelf: -WSsrl
-#target: x86_64-*-nacl*
-
-There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
-
-Section Headers:
- +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
- +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
- +\[[ 0-9]+\] .plt +.*
- +\[[ 0-9]+\] .text +PROGBITS +0+1000 [0-9a-f]+ 0+31a 00 +AX +0 +0 4096
- +\[[ 0-9]+\] .hash +.*
- +\[[ 0-9]+\] .dynsym +.*
- +\[[ 0-9]+\] .dynstr +.*
- +\[[ 0-9]+\] .rela.dyn +.*
- +\[[ 0-9]+\] .rela.plt +.*
- +\[[ 0-9]+\] .tdata +PROGBITS +0+10010458 [0-9a-f]+ 0+60 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .tbss +NOBITS +0+100104b8 [0-9a-f]+ 0+20 00 WAT +0 +0 +1
- +\[[ 0-9]+\] .dynamic +DYNAMIC +0+100104b8 [0-9a-f]+ 0+130 10 +WA +5 +0 +8
- +\[[ 0-9]+\] .got +PROGBITS +0+100105e8 [0-9a-f]+ 0+98 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .got.plt +PROGBITS +0+10010680 [0-9a-f]+ 0+20 08 +WA +0 +0 +8
- +\[[ 0-9]+\] .symtab +.*
- +\[[ 0-9]+\] .strtab +.*
- +\[[ 0-9]+\] .shstrtab +.*
-Key to Flags:
-#...
-
-Elf file type is DYN \(Shared object file\)
-Entry point 0x1000
-There are [0-9]+ program headers, starting at offset [0-9]+
-
-Program Headers:
- +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
- +LOAD +0x0+10000 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x10000
- +LOAD +0x0+ 0x0+10000000 0x0+10000000 0x0+458 0x0+458 R +0x10000
- +LOAD +0x0+458 0x0+10010458 0x0+10010458 0x0+248 0x0+248 RW +0x10000
- +DYNAMIC +0x0+4b8 0x0+100104b8 0x0+100104b8 0x0+130 0x0+130 RW +0x8
- +TLS +0x0+458 0x0+10010458 0x0+10010458 0x0+60 0x0+80 R +0x1
-
- Section to Segment mapping:
- +Segment Sections...
- +00 +.plt .text *
- +01 +.hash .dynsym .dynstr .rela.dyn .rela.plt *
- +02 +.tdata .dynamic .got .got.plt *
- +03 +.dynamic *
- +04 +.tdata .tbss *
-
-Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 15 entries:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_TPOFF64 +24
-[0-9a-f ]+R_X86_64_TPOFF64 +30
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_TPOFF64 +64
-[0-9a-f ]+R_X86_64_TPOFF64 +50
-[0-9a-f ]+R_X86_64_TPOFF64 +70
-[0-9a-f ]+R_X86_64_DTPMOD64 +0
-[0-9a-f ]+R_X86_64_TPOFF64 +44
-[0-9a-f ]+R_X86_64_TPOFF64 +0+10 sg5 \+ 0
-[0-9a-f ]+R_X86_64_GLOB_DAT +0+ __tls_get_addr \+ 0
-[0-9a-f ]+R_X86_64_DTPMOD64 +0+ sg1 \+ 0
-[0-9a-f ]+R_X86_64_DTPOFF64 +0+ sg1 \+ 0
-[0-9a-f ]+R_X86_64_TPOFF64 +0+4 sg2 \+ 0
-
-Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
- +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
-[0-9a-f ]+R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0
-
-Symbol table '\.dynsym' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* TLS +GLOBAL +DEFAULT +8 sg8
-.* TLS +GLOBAL +DEFAULT +8 sg3
-.* TLS +GLOBAL +DEFAULT +8 sg4
-.* TLS +GLOBAL +DEFAULT +8 sg5
-.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +DEFAULT +8 sg1
-.* FUNC +GLOBAL +DEFAULT +2 fn1
-.* TLS +GLOBAL +DEFAULT +8 sg2
-.* TLS +GLOBAL +DEFAULT +8 sg6
-.* TLS +GLOBAL +DEFAULT +8 sg7
-
-Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-.* NOTYPE +LOCAL +DEFAULT +UND *
-.* SECTION +LOCAL +DEFAULT +1 *
-.* SECTION +LOCAL +DEFAULT +2 *
-.* SECTION +LOCAL +DEFAULT +3 *
-.* SECTION +LOCAL +DEFAULT +4 *
-.* SECTION +LOCAL +DEFAULT +5 *
-.* SECTION +LOCAL +DEFAULT +6 *
-.* SECTION +LOCAL +DEFAULT +7 *
-.* SECTION +LOCAL +DEFAULT +8 *
-.* SECTION +LOCAL +DEFAULT +9 *
-.* SECTION +LOCAL +DEFAULT +10 *
-.* SECTION +LOCAL +DEFAULT +11 *
-.* SECTION +LOCAL +DEFAULT +12 *
-.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlspic3.o
-.* TLS +LOCAL +DEFAULT +8 sl1
-.* TLS +LOCAL +DEFAULT +8 sl2
-.* TLS +LOCAL +DEFAULT +8 sl3
-.* TLS +LOCAL +DEFAULT +8 sl4
-.* TLS +LOCAL +DEFAULT +8 sl5
-.* TLS +LOCAL +DEFAULT +8 sl6
-.* TLS +LOCAL +DEFAULT +8 sl7
-.* TLS +LOCAL +DEFAULT +8 sl8
-.* FILE +LOCAL +DEFAULT +ABS 
-.* TLS +LOCAL +DEFAULT +9 sH1
-.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
-.* TLS +LOCAL +DEFAULT +8 sh3
-.* TLS +LOCAL +DEFAULT +9 sH2
-.* TLS +LOCAL +DEFAULT +9 sH7
-.* TLS +LOCAL +DEFAULT +8 sh7
-.* TLS +LOCAL +DEFAULT +8 sh8
-.* TLS +LOCAL +DEFAULT +9 sH4
-.* TLS +LOCAL +DEFAULT +8 sh4
-.* TLS +LOCAL +DEFAULT +9 sH3
-.* TLS +LOCAL +DEFAULT +8 sh5
-.* TLS +LOCAL +DEFAULT +9 sH5
-.* TLS +LOCAL +DEFAULT +9 sH6
-.* TLS +LOCAL +DEFAULT +9 sH8
-.* TLS +LOCAL +DEFAULT +8 sh1
-.* OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +DEFAULT +8 sh2
-.* TLS +LOCAL +DEFAULT +8 sh6
-.* TLS +GLOBAL +DEFAULT +8 sg8
-.* TLS +GLOBAL +DEFAULT +8 sg3
-.* TLS +GLOBAL +DEFAULT +8 sg4
-.* TLS +GLOBAL +DEFAULT +8 sg5
-.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
-.* TLS +GLOBAL +DEFAULT +8 sg1
-.* FUNC +GLOBAL +DEFAULT +2 fn1
-.* TLS +GLOBAL +DEFAULT +8 sg2
-.* TLS +GLOBAL +DEFAULT +8 sg6
-.* TLS +GLOBAL +DEFAULT +8 sg7
index 7e6a2c9804a92be35850a16c916cc77648a45a0b..e687c42a695bb189d9e8a11ff5b653be131ffdbf 100644 (file)
 # Test x86_64 linking; all types of relocs.  This tests the assembler and
 # tools like objdump as well as the linker.
 
-if { !([istarget "x86_64-*-elf*"]
-       || [istarget "x86_64-*-nacl*"]
-       || [istarget "x86_64-*-linux*"]) } {
+if { !([istarget "x86_64-*-elf*"] || [istarget "x86_64-*-linux*"]) } {
     return
 }
 
-if [istarget "*-*-nacl*"] {
-    set emul "elf_x86_64_nacl"
-} else {
-    set emul "elf_x86_64"
-}
-
+set emul "elf_x86_64"
 set saved_ASFLAGS "$ASFLAGS"
 set ASFLAGS "$ASFLAGS -mx86-used-note=no"
 
@@ -230,38 +223,6 @@ set x86_64tests {
      "--64" { dummy.s } {} "pr20550"}
 }
 
-# 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*"] {
-    set emul elf_x86_64_nacl
-
-    set lhs {elf(32)?_(i386|x86_64)[[:>:]]}
-    set rhs {&_nacl}
-
-    # Change all the -melf_x86_64 to -melf_x86_64_nacl so linking can succeed.
-    regsub -all -- $lhs $x86_64tests $rhs x86_64tests
-
-    set zlhs {-z noseparate-code -z max-page-size=0x200000}
-    set zrhs {}
-
-    # Remove -z max-page-size=0x200000 -z noseparate-code since they
-    # generate different addresses for nacl targets.
-    regsub -all -- $zlhs $x86_64tests $zrhs x86_64tests
-
-    # Same, applied to all the run_dump_test cases.
-    set options_regsub(ld) [list $lhs $rhs]
-
-    # 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} $x86_64tests {\1-nacl.rd} x86_64tests
-
-    # Likewise for PLTs.
-    regsub -all -- {([a-z0-9]+)\.pd} $x86_64tests {\1-nacl.pd} x86_64tests
-} else {
-    set emul elf_x86_64
-}
-
 run_ld_link_tests $x86_64tests
 
 set test_name "Mixed x86_64 and i386 input test 1"
@@ -335,7 +296,6 @@ run_dump_test "gotplt1"
 run_dump_test "pie1"
 run_dump_test "pie2"
 run_dump_test "pie3"
-run_dump_test "pie3-nacl"
 run_dump_test "pic1"
 run_dump_test "largecomm-1a"
 run_dump_test "largecomm-1b"
@@ -412,7 +372,6 @@ run_dump_test "property-x86-cet5b-x32"
 run_dump_test "property-x86-cet6"
 run_dump_test "property-x86-cet6-x32"
 run_dump_test "pr21884"
-run_dump_test "pr21884-nacl"
 run_dump_test "pr22071"
 run_dump_test "pr22115-1a"
 run_dump_test "pr22115-1a-x32"
@@ -473,7 +432,7 @@ run_dump_test "pr25416-3"
 run_dump_test "pr25416-4"
 run_dump_test "pr26018"
 
-if { ![istarget "x86_64-*-linux*"] && ![istarget "x86_64-*-nacl*"]} {
+if ![istarget "x86_64-*-linux*"] {
     return
 }
 
@@ -512,7 +471,6 @@ run_dump_test "ilp32-1"
 run_dump_test "ilp32-2"
 run_dump_test "ilp32-3"
 run_dump_test "ilp32-4"
-run_dump_test "ilp32-4-nacl"
 run_dump_test "ilp32-5"
 run_dump_test "ilp32-6"
 run_dump_test "ilp32-7"
@@ -564,10 +522,6 @@ run_dump_test "load1a"
 run_dump_test "load1b"
 run_dump_test "load1c"
 run_dump_test "load1d"
-run_dump_test "load1a-nacl"
-run_dump_test "load1b-nacl"
-run_dump_test "load1c-nacl"
-run_dump_test "load1d-nacl"
 run_dump_test "load2"
 run_dump_test "call1a"
 run_dump_test "call1b"
@@ -591,7 +545,6 @@ run_dump_test "ifunc-textrel-2b"
 run_dump_test "pr18815"
 run_dump_test "pr19013"
 run_dump_test "pr19013-x32"
-run_dump_test "pr19013-nacl"
 run_dump_test "pr19162"
 run_dump_test "pr19175"
 run_dump_test "pr18591"
@@ -610,7 +563,6 @@ run_dump_test "pr19636-2a"
 run_dump_test "pr19636-2b"
 run_dump_test "pr19636-2c"
 run_dump_test "pr19636-2d"
-run_dump_test "pr19636-2d-nacl"
 run_dump_test "pr19636-2e"
 run_dump_test "pr19636-2f"
 run_dump_test "pr19636-2g"