binutils-gdb/ld/testsuite/ld-x86-64
H.J. Lu 233cc9c13a Don't generate PLT for IFUNC GOT/pointer reference
If a backend supports it, PLT entry isn't needed when all references
to a STT_GNU_IFUNC symbols are done via GOT or static function pointers.
For GOT entries, We generate dynamic R_*_GLOB_DAT relocations for
preemptable symbols and R_*_IRELATIVE relocations for non-preemptable
symbols to update them with real function address.  For static pointer
pointers, we generate dynamic pointer relocations and store them in:

1. .rel[a].ifunc section in PIC object.
2. .rel[a].got section in dynamic executable.
3. .rel[a].iplt section in static executable.

We don't allocate GOT entry if it isn't used.

bfd/

	PR ld/20253
	* elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): Add an
	bfd_boolean argument.
	* elf-ifunc.c (_bfd_elf_create_ifunc_sections): Replace
	"shared object" with "PIC object" in comments.
	(_bfd_elf_allocate_ifunc_dyn_relocs): Updated.  Replace
	"shared object" with "PIC object" in comments.  Avoid PLT if
	requested.  Generate dynamic relocations for non-GOT references.
	Make room for the special first entry in PLT and allocate PLT
	entry only for PLT and PC-relative references.  Store dynamic
	GOT relocations in .rel[a].iplt section for static executables.
	If PLT isn't used, always use GOT for symbol value.  Don't
	allocate GOT entry if it isn't used.
	* elf32-i386.c (elf_i386_check_relocs): Increment PLT reference
	count only in the code section.  Allocate dynamic pointer
	relocation against STT_GNU_IFUNC symbol in the non-code section.
	(elf_i386_adjust_dynamic_symbol): Increment PLT reference count
	only for PC-relative references.
	(elf_i386_allocate_dynrelocs): Pass TRUE to
	_bfd_elf_allocate_ifunc_dyn_relocs.
	(elf_i386_relocate_section): Allow R_386_GOT32/R_386_GOT32X
	relocations against STT_GNU_IFUNC symbols without PLT.  Generate
	dynamic pointer relocation against STT_GNU_IFUNC symbol in
	the non-code section and store it in the proper REL section.
	Don't allow non-pointer relocation against STT_GNU_IFUNC symbol
	without PLT.
	(elf_i386_finish_dynamic_symbol): Generate dynamic
	R_386_IRELATIVE and R_386_GLOB_DAT GOT relocations against
	STT_GNU_IFUNC symbols without PLT.
	(elf_i386_finish_dynamic_sections): Don't handle local
	STT_GNU_IFUNC symbols here.
	(elf_i386_output_arch_local_syms): Handle local STT_GNU_IFUNC
	symbols here.
	(elf_backend_output_arch_local_syms): New.
	* elf32-x86-64.c (elf_i386_check_relocs): Increment PLT reference
	count only in the code section.  Allocate dynamic pointer
	relocation against STT_GNU_IFUNC symbol in the non-code section.
	(elf_x86_64_adjust_dynamic_symbol): Increment PLT reference
	count only for PC-relative references.
	(elf_x86_64_allocate_dynrelocs): Pass TRUE to
	_bfd_elf_allocate_ifunc_dyn_relocs.
	(elf_x86_64_relocate_section): Allow R_X86_64_GOTPCREL,
	R_X86_64_GOTPCRELX, R_X86_64_REX_GOTPCRELX and
	R_X86_64_GOTPCREL64 relocations against STT_GNU_IFUNC symbols
	without PLT.  Generate dynamic pointer relocation against
	STT_GNU_IFUNC symbol in the non-code section and store it in
	the proper RELA section.  Don't allow non-pointer relocation
	against STT_GNU_IFUNC symbol without PLT.
	(elf_x86_64_finish_dynamic_symbol): Generate dynamic
	R_X86_64_IRELATIVE and R_X86_64_GLOB_DAT GOT relocations against
	STT_GNU_IFUNC symbols without PLT.
	(elf_x86_64_finish_dynamic_sections): Don't handle local
	STT_GNU_IFUNC symbols here.
	(elf_x86_64_output_arch_local_syms): Handle local STT_GNU_IFUNC
	symbols here.
	(elf_backend_output_arch_local_syms): New.
	* elfnn-aarch64.c (elfNN_aarch64_allocate_ifunc_dynrelocs):
	Pass FALSE to _bfd_elf_allocate_ifunc_dyn_relocs.

ld/

	PR ld/20253
	* testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
	* testsuite/ld-i386/no-plt.exp: Likewise.
	* testsuite/ld-x86-64/no-plt.exp: Likewise.
	* testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
	* testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
	* testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
	* testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
	* testsuite/ld-x86-64/pr13082-5a.d: Likewise.
	* testsuite/ld-x86-64/pr13082-5b.d: Likewise.
	* testsuite/ld-x86-64/pr13082-6a.d: Likewise.
	* testsuite/ld-x86-64/pr13082-6b.d: Likewise.
	* testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
	* 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-i386/pr20244-2b.d: Updated.
	* testsuite/ld-i386/pr20244-2c.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-i386/pr20253-1a.c: New file.
	* testsuite/ld-i386/pr20253-1b.S: Likewise.
	* testsuite/ld-i386/pr20253-1c.S: Likewise.
	* testsuite/ld-i386/pr20253-1d.S: Likewise.
	* testsuite/ld-i386/pr20253-2a.c: Likewise.
	* testsuite/ld-i386/pr20253-2b.S: Likewise.
	* testsuite/ld-i386/pr20253-2c.S: Likewise.
	* testsuite/ld-i386/pr20253-2d.S: Likewise.
	* testsuite/ld-i386/pr20253-3.d: Likewise.
	* testsuite/ld-i386/pr20253-3.s: Likewise.
	* testsuite/ld-i386/pr20253-4.s: Likewise.
	* testsuite/ld-i386/pr20253-4a.d: Likewise.
	* testsuite/ld-i386/pr20253-4b.d: Likewise.
	* testsuite/ld-i386/pr20253-4c.d: Likewise.
	* testsuite/ld-i386/pr20253-5.d: Likewise.
	* testsuite/ld-i386/pr20253-5.s: Likewise.
	* testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
	* testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
	* testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
	* testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1.s: Likewise.
	* testsuite/ld-x86-64/pr20253-1a.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1b.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1c.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1d.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1e.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1f.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1g.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1h.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1i.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1j.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1k.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1l.d: Likewise.
	* testsuite/ld-x86-64/pr20253-2a.c: Likewise.
	* testsuite/ld-x86-64/pr20253-2b.S: Likewise.
	* testsuite/ld-x86-64/pr20253-2c.S: Likewise.
	* testsuite/ld-x86-64/pr20253-2d.S: Likewise.
	* testsuite/ld-x86-64/pr20253-3.d: Likewise.
	* testsuite/ld-x86-64/pr20253-3.s: Likewise.
	* testsuite/ld-x86-64/pr20253-4.s: Likewise.
	* testsuite/ld-x86-64/pr20253-4a.d: Likewise.
	* testsuite/ld-x86-64/pr20253-4b.d: Likewise.
	* testsuite/ld-x86-64/pr20253-4c.d: Likewise.
	* testsuite/ld-x86-64/pr20253-4d.d: Likewise.
	* testsuite/ld-x86-64/pr20253-4e.d: Likewise.
	* testsuite/ld-x86-64/pr20253-4f.d: Likewise.
	* testsuite/ld-x86-64/pr20253-5.s: Likewise.
	* testsuite/ld-x86-64/pr20253-5a.d: Likewise.
	* testsuite/ld-x86-64/pr20253-5b.d: Likewise.
	* testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
	relocation.
	* 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-18a.s: Fix a typo.
	* testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
2016-06-18 09:17:25 -07:00
..
32bit.s * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and 2012-01-05 15:17:18 +00:00
64bit.s * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and 2012-01-05 15:17:18 +00:00
abs-k1om.d Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
abs-l1om.d bfd/ 2012-04-03 16:01:38 +00:00
abs.d
bnd-branch-1.d Add bnd-branch-1 test 2013-11-21 04:53:05 -08:00
bnd-branch-1.s Add bnd-branch-1 test 2013-11-21 04:53:05 -08:00
bnd-ifunc-1.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
bnd-ifunc-1.s Create the second PLT for BND relocations 2014-02-19 11:48:23 -08:00
bnd-ifunc-2.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
bnd-ifunc-2.s Properly match PLT entry against .got.plt relocation 2014-07-16 10:57:49 -07:00
bnd-plt-1.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
call1.s Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
call1a.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1b.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1c.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1d.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1e.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1f.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1g.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1h.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1i.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
compressed1.d Use nm/readelf with "failif" 2015-02-19 04:45:27 -08:00
compressed1.s Add testcases for PR ld/11817. 2010-07-15 00:42:23 +00:00
copyreloc-lib.c X86-64: Allow copy relocs for building PIE 2014-12-02 15:19:25 -08:00
copyreloc-main1.rd X86-64: Allow copy relocs for building PIE 2014-12-02 15:19:25 -08:00
copyreloc-main2.rd X86-64: Allow copy relocs for building PIE 2014-12-02 15:19:25 -08:00
copyreloc-main.out X86-64: Allow copy relocs for building PIE 2014-12-02 15:19:25 -08:00
copyreloc-main.S Replace copyreloc-main.c with copyreloc-main.S 2014-12-03 08:52:00 -08:00
discarded1.d Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +00:00
discarded1.s Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +00:00
discarded1.t Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +00:00
dummy.s Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
dwarfreloc1.s
dwarfreloc2.s
dwarfreloc.exp Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
dwarfreloc.rd
export-class.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
foo.s Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
gotpcrel1.dd Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
gotpcrel1.out Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
gotpcrel1a.S Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
gotpcrel1b.c Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
gotpcrel1c.c Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
gotpcrel1d.S Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
gotplt1.d Add assembler support for @gotplt 2014-11-13 11:09:40 -08:00
gotplt1.s Add assembler support for @gotplt 2014-11-13 11:09:40 -08:00
hidden1.d
hidden1.s
hidden2.d bfd/ 2012-04-03 16:01:38 +00:00
hidden2.s
hidden3.d
hidden3.s
hidden4.d Replace SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL 2015-04-11 07:56:48 -07:00
hidden4.s Replace SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL 2015-04-11 07:56:48 -07:00
hidden5.d Replace SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL 2015-04-11 07:56:48 -07:00
hidden5.s Replace SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL 2015-04-11 07:56:48 -07:00
ia32-1.d Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
ia32-2.d bfd/ 2013-08-26 22:18:07 +00:00
ia32-3.d bfd/ 2013-08-26 22:18:07 +00:00
ilp32-1.d Rename --n32 to --x32. 2011-01-14 23:07:11 +00:00
ilp32-2.d Set CPU type in BFD backend for x86_64-nacl* and i?86-nacl* targets 2013-11-07 10:00:32 -08:00
ilp32-3.d Set CPU type in BFD backend for x86_64-nacl* and i?86-nacl* targets 2013-11-07 10:00:32 -08:00
ilp32-4-nacl.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
ilp32-4.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
ilp32-4.s Remove ABI_64_P check on R_X86_64_PCXX 2012-01-10 20:18:18 +00:00
ilp32-5.d Remove ABI_64_P check on R_X86_64_PCXX 2012-01-10 20:18:18 +00:00
ilp32-5.s Remove ABI_64_P check on R_X86_64_PCXX 2012-01-10 20:18:18 +00:00
ilp32-6.d Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ilp32-6.s Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ilp32-7.d Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ilp32-7.s Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ilp32-8.d bfd/ 2012-04-03 16:01:38 +00:00
ilp32-8.s Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ilp32-9.d bfd/ 2012-04-03 16:01:38 +00:00
ilp32-9.s Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ilp32-10.d Remove ABI_64_P check on R_X86_64_PCXX 2012-01-10 20:18:18 +00:00
ilp32-10.s Remove ABI_64_P check on R_X86_64_PCXX 2012-01-10 20:18:18 +00:00
ilp32-11.d Adjust ld-x86-64/ilp32-11.s for NACL 2012-05-22 21:42:50 +00:00
ilp32-11.s Adjust ld-x86-64/ilp32-11.s for NACL 2012-05-22 21:42:50 +00:00
incompatible.l * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and 2012-01-05 15:17:18 +00:00
largecomm-1.s Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
largecomm-1a.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
largecomm-1b.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
largecomm-1c.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
largecomm-1d.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
largecomm-1e.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
largecomm-1f.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
lea1.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1e.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1f.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1g.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1h.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1i.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1j.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1k.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1l.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
libno-plt-1b.dd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
libno-plt-1b.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
line.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
load1.s Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
load1a-nacl.d Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
load1a.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
load1b-nacl.d Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
load1b.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
load1c-nacl.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
load1c.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
load1d-nacl.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
load1d.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
load2.d Test load conversion with symbol versioning for x86 2016-05-06 05:28:18 -07:00
load2.map Test load conversion with symbol versioning for x86 2016-05-06 05:28:18 -07:00
load2.s Test load conversion with symbol versioning for x86 2016-05-06 05:28:18 -07:00
lp64-1.d Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
lp64-2.d Set CPU type in BFD backend for x86_64-nacl* and i?86-nacl* targets 2013-11-07 10:00:32 -08:00
lp64-3.d Set CPU type in BFD backend for x86_64-nacl* and i?86-nacl* targets 2013-11-07 10:00:32 -08:00
mixed1a.s Don't check relocation if input ELF object ID doesn't match output. 2010-08-22 19:14:25 +00:00
mixed1b.s Don't check relocation if input ELF object ID doesn't match output. 2010-08-22 19:14:25 +00:00
mixed2a.s Don't check relocation if input ELF object ID doesn't match output. 2010-08-22 19:14:25 +00:00
mixed2b.s Don't check relocation if input ELF object ID doesn't match output. 2010-08-22 19:14:25 +00:00
mov1.s Properly convert address load of __start_XXX/__stop_XXX 2015-10-26 08:11:55 -07:00
mov1a.d Properly convert address load of __start_XXX/__stop_XXX 2015-10-26 08:11:55 -07:00
mov1b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
mov1c.d Properly convert address load of __start_XXX/__stop_XXX 2015-10-26 08:11:55 -07:00
mov1d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
mov2.s Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
mov2a.d Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
mov2b.d Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
mov2c.d Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
mov2d.d Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
mpx1.out Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND 2013-11-17 08:57:56 -08:00
mpx1a.c Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND 2013-11-17 08:57:56 -08:00
mpx1a.rd Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx1b.c Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND 2013-11-17 08:57:56 -08:00
mpx1c.c Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND 2013-11-17 08:57:56 -08:00
mpx1c.rd Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx2.out Add mpx1static, mpx2 and mpx2static tests 2013-11-20 12:35:10 -08:00
mpx2a.c Add mpx1static, mpx2 and mpx2static tests 2013-11-20 12:35:10 -08:00
mpx2a.rd Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx2b.c Add mpx1static, mpx2 and mpx2static tests 2013-11-20 12:35:10 -08:00
mpx2c.c Add mpx1static, mpx2 and mpx2static tests 2013-11-20 12:35:10 -08:00
mpx2c.rd Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx3.dd Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
mpx3a.s Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx3b.s Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx4.dd Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx4a.s Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx4b.s Add -z bndplt to generate BND prefix in PLT entries 2014-11-18 05:40:17 -08:00
mpx.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
no-plt-1a.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1a.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
no-plt-1b.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1b.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
no-plt-1c.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1c.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
no-plt-1d.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1d.rd X86-64: Test external function reference without PLT 2016-06-08 05:57:18 -07:00
no-plt-1e.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1e.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
no-plt-1f.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1f.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
no-plt-1g.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1g.rd Update x86-64 no-PLT tests for x32 2016-06-12 07:28:58 -07:00
no-plt-check1.S X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-extern1.S X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-func1.c X86-64: Test external function reference without PLT 2016-06-08 05:57:18 -07:00
no-plt-main1.c X86-64: Test external function reference without PLT 2016-06-08 05:57:18 -07:00
no-plt.exp Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
nogot1.d Don't allocate .got.plt section if there are no GOT nor PLT entries. 2010-07-14 00:30:57 +00:00
nogot1.s Don't allocate .got.plt section if there are no GOT nor PLT entries. 2010-07-14 00:30:57 +00:00
nogot2.d Add 2 tests for PR ld/11812. 2010-10-01 04:47:02 +00:00
nogot2.s Add 2 tests for PR ld/11812. 2010-10-01 04:47:02 +00:00
pass.out Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
pcrel8.d
pcrel16.d bfd/ 2012-04-03 16:01:38 +00:00
pic1.d Add ld-x86-64/pic1 test 2016-04-20 11:13:56 -07:00
pic1.s Add ld-x86-64/pic1 test 2016-04-20 11:13:56 -07:00
pie1.d Use nm/readelf with "failif" 2015-02-19 04:45:27 -08:00
pie1.s Don't complain about -fPIC for undefined symbol 2015-01-15 11:08:59 -08:00
pie2.d Add ld-x86-64/pie2 test 2016-04-20 11:12:22 -07:00
pie2.s Add ld-x86-64/pie2 test 2016-04-20 11:12:22 -07:00
plt-lib.c Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main1.c Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main1.rd Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
plt-main2.c Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main2.rd Update plt-main tests for x32 2014-11-20 13:29:41 -08:00
plt-main3.c Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main3.rd Also check GOTPCRELX 2015-10-29 09:18:57 -07:00
plt-main4.c Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main4.rd Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
plt-main5.c Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main-bnd.dd Optimize out i386/x86-64 JUMP_SLOT relocation 2014-11-25 05:05:39 -08:00
plt-main.out Add function and function pointer tests 2014-11-20 12:41:11 -08:00
plt-main.rd Optimize out i386/x86-64 JUMP_SLOT relocation 2014-11-25 05:05:39 -08:00
plt-nacl.pd Properly display extra data/address size prefixes 2014-05-09 10:58:00 -07:00
plt-pic.s bfd/ 2012-04-03 16:01:38 +00:00
plt.pd bfd/ 2012-04-03 16:01:38 +00:00
plt.s bfd/ 2012-04-03 16:01:38 +00:00
pltgot-1.d Keep .plt section and DT_PLTGOT for prelink 2015-06-24 13:47:37 -07:00
pltgot-1.s Allocate the first .plt entry space only if needed 2015-05-12 13:11:48 -07:00
pltgot-2.d Keep .plt section and DT_PLTGOT for prelink 2015-06-24 13:47:37 -07:00
pltlib.s bfd/ 2012-04-03 16:01:38 +00:00
pr12570a.d ld/testsuite/ 2012-05-22 18:22:03 +00:00
pr12570a.s Always create PLT eh_frame section for i386/x86-64 2012-05-22 14:05:21 +00:00
pr12570b.d ld/testsuite/ 2012-05-22 18:22:03 +00:00
pr12570b.s Always create PLT eh_frame section for i386/x86-64 2012-05-22 14:05:21 +00:00
pr12718.d Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
pr12718.s Add testcases for PR ld/12718. 2011-05-01 13:38:22 +00:00
pr12921.d Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
pr12921.s Add testcases for PR ld/12921. 2011-06-24 14:03:15 +00:00
pr13082-1.s Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-1a.d Count R_X86_64_RELATIVE64 as reloc_class_relative 2012-05-10 17:15:19 +00:00
pr13082-1b.d Count R_X86_64_RELATIVE64 as reloc_class_relative 2012-05-10 17:15:19 +00:00
pr13082-2.s Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-2a.d Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-2b.d Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-3.s Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-3a.d Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-3b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr13082-3c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr13082-3d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr13082-4.s Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-4a.d Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-4b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr13082-5.s Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-5a.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr13082-5b.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr13082-6.s Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00:00
pr13082-6a.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr13082-6b.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr13947.d Set reloc_count to 0 for reloc sections 2012-04-13 23:20:00 +00:00
pr13947.s Set reloc_count to 0 for reloc sections 2012-04-13 23:20:00 +00:00
pr14207.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
pr14207.s Abort if PT_GNU_RELRO segment doesn't fit in PT_LOAD segment 2012-06-12 12:55:11 +00:00
pr14215.d Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation 2012-06-11 13:23:51 +00:00
pr14215.s Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation 2012-06-11 13:23:51 +00:00
pr17306a.s Use bfd_is_abs_section to check discarded input section 2014-08-27 07:59:48 -07:00
pr17306b.s Use bfd_is_abs_section to check discarded input section 2014-08-27 07:59:48 -07:00
pr17618.d Don't run pr17618 test on x32 2014-11-20 13:38:31 -08:00
pr17618.s Check PC-relative offset overflow in PLT entry 2014-11-18 11:04:46 -08:00
pr17689.out Only discard space for pc-relative relocs symbols 2015-01-11 08:04:27 -08:00
pr17689.rd Handle weak alias for PIE with copy reloc 2014-12-13 23:39:56 -08:00
pr17689a.c Handle weak alias for PIE with copy reloc 2014-12-13 23:39:56 -08:00
pr17689b.S Only discard space for pc-relative relocs symbols 2015-01-11 08:04:27 -08:00
pr17689now.rd Don't generate PLT relocations for now binding 2015-05-16 07:00:55 -07:00
pr17709-nacl.rd Add extern_protected_data and set it for x86 2015-04-10 11:06:34 -07:00
pr17709.rd Add extern_protected_data and set it for x86 2015-04-10 11:06:34 -07:00
pr17709a.s Add extern_protected_data and set it for x86 2015-04-10 11:06:34 -07:00
pr17709b.s Add extern_protected_data and set it for x86 2015-04-10 11:06:34 -07:00
pr17827.rd Only discard space for pc-relative relocs symbols 2015-01-11 08:04:27 -08:00
pr17935-1.d Issue relocation in RO section warning for -z text 2015-02-07 05:28:06 -08:00
pr17935-1.s Issue relocation in RO section warning for -z text 2015-02-07 05:28:06 -08:00
pr17935-2.d Issue relocation in RO section warning for -z text 2015-02-07 05:28:06 -08:00
pr17935-2.s Issue relocation in RO section warning for -z text 2015-02-07 05:28:06 -08:00
pr18160.d Don't run ld-x86-64/pr18160.d for x86_64-*-nacl* 2015-03-27 14:40:43 -07:00
pr18160.s Skip gc-sections if relocation is incompatible 2015-03-26 08:22:55 -07:00
pr18160.t Skip gc-sections if relocation is incompatible 2015-03-26 08:22:55 -07:00
pr18176.d Rewrite relro adjusting code 2015-04-22 23:19:59 +09:30
pr18176.s Add a testcase for PR ld/18176 2015-04-01 04:24:24 -07:00
pr18176.t Add a testcase for PR ld/18176 2015-04-01 04:24:24 -07:00
pr18591.d Pass --no-relax to ld in ld-x86-64/pr18591.d 2016-05-05 08:09:23 -07:00
pr18591.s Add a testcase for PR ld/18591 2016-02-02 06:36:52 -08:00
pr18801.d Issue an error for read-only segment with dynamic IFUNC relocations 2015-08-13 04:31:38 -07:00
pr18801.s Issue an error for read-only segment with dynamic IFUNC relocations 2015-08-13 04:31:38 -07:00
pr18815.d Set EI_OSABI to ELFOSABI_GNU for local IFUNC symbols 2015-08-12 13:47:41 -07:00
pr18815.s Set EI_OSABI to ELFOSABI_GNU for local IFUNC symbols 2015-08-12 13:47:41 -07:00
pr18900.out Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
pr18900a.c Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
pr18900a.rd Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
pr18900b.c Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
pr18900b.rd Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
pr18900c.c Skip PLT for function pointer initialization 2015-09-01 05:06:33 -07:00
pr19013-nacl.d Update ld-x86-64/pr19013-nacl.d 2015-10-01 09:31:16 +09:30
pr19013-x32.d Revert "Also check e_machine when merging sections" 2015-10-01 07:41:28 +09:30
pr19013.d Pass -m elf_x86_64 to ld for 64-bit test 2015-09-30 10:20:34 -07:00
pr19013.s Also check e_machine when merging sections 2015-09-30 05:37:49 -07:00
pr19031.out Create a PLT entry for R_X86_64_PC32 in non-code sections 2015-10-01 10:49:33 -07:00
pr19031a.c Create a PLT entry for R_X86_64_PC32 in non-code sections 2015-10-01 10:49:33 -07:00
pr19031b.S Create a PLT entry for R_X86_64_PC32 in non-code sections 2015-10-01 10:49:33 -07:00
pr19031c.c Create a PLT entry for R_X86_64_PC32 in non-code sections 2015-10-01 10:49:33 -07:00
pr19162.d [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
pr19162a.s Add a test for PR ld/19162 2015-10-28 03:20:55 -07:00
pr19162b.s Add a test for PR ld/19162 2015-10-28 03:20:55 -07:00
pr19175.d Check symbol defined by assignment in linker script 2015-10-26 16:32:55 -07:00
pr19175.s Check symbol defined by assignment in linker script 2015-10-26 16:32:55 -07:00
pr19175.t Check symbol defined by assignment in linker script 2015-10-26 16:32:55 -07:00
pr19319.dd Properly check symbol defined by assignment in linker script 2015-12-01 14:45:51 -08:00
pr19319a.S Properly check symbol defined by assignment in linker script 2015-12-01 14:45:51 -08:00
pr19319b.S Properly check symbol defined by assignment in linker script 2015-12-01 14:45:51 -08:00
pr19539.s Add more tests for PR ld/19539 2016-03-13 08:57:10 -07:00
pr19539.t Add more tests for PR ld/19539 2016-03-13 08:57:10 -07:00
pr19539a.d Add more tests for PR ld/19539 2016-03-13 08:57:10 -07:00
pr19539b.d Add more tests for PR ld/19539 2016-03-13 08:57:10 -07:00
pr19609-1.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1e.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1f.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1g.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1h.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1i.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1j.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1k.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1l.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-1m.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-2.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-2a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-2b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-2c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-2d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-3.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-3a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-3b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-4.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-4a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-4b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-4c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-4d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-4e.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-5.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-5a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-5b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-5c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-5d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-5e.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-6.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-6a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-6b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-6c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-6d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-7.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-7a.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-7b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-7c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19609-7d.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
pr19615.d Enable -Bsymbolic and -Bsymbolic-functions to PIE 2016-02-11 15:20:13 -08:00
pr19615.s Enable -Bsymbolic and -Bsymbolic-functions to PIE 2016-02-11 15:20:13 -08:00
pr19636-1.s [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1a.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1b.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1c.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1d.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1e.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1f.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1g.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2.s [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2a.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2b.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2c.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2d-nacl.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2d.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2e.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2f.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2g.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2h.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-2i.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3.s [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3a.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3b.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3c.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3d.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19645.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
pr19645.s Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
pr19704.out [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19704a.c [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19704b.c [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19719.d Add another testcase for PR ld/19719 2016-04-19 20:11:55 -07:00
pr19719.s Add another testcase for PR ld/19719 2016-04-19 20:11:55 -07:00
pr19807-1.s Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-1a.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-1b.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-2.s Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-2a.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-2b.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-2c.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-2d.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19807-2e.d Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
pr19827-nacl.rd Add missing pr19827-nacl.rd for i386/x86-64 NaCl 2016-04-04 20:50:19 -07:00
pr19827.rd Bind defined symbol locally in PIE 2016-03-15 11:47:06 -07:00
pr19827a.S Bind defined symbol locally in PIE 2016-03-15 11:47:06 -07:00
pr19827b.S Bind defined symbol locally in PIE 2016-03-15 11:47:06 -07:00
pr19939.s Properly handle dynamic reloc against normal symbol 2016-04-11 19:41:52 -07:00
pr19939a.d Properly handle dynamic reloc against normal symbol 2016-04-11 19:41:52 -07:00
pr19939b.d Properly handle dynamic reloc against normal symbol 2016-04-11 19:41:52 -07:00
pr19969.d Check run-time R_X86_64_32 relocation overflow 2016-04-20 11:10:38 -07:00
pr19969a.S Check run-time R_X86_64_32 relocation overflow 2016-04-20 11:10:38 -07:00
pr19969b.S Check run-time R_X86_64_32 relocation overflow 2016-04-20 11:10:38 -07:00
pr20093-1.d Don't convert GOTPCREL relocation against large section 2016-05-13 11:07:02 -07:00
pr20093-1.s Don't convert GOTPCREL relocation against large section 2016-05-13 11:07:02 -07:00
pr20093-2.d Don't convert GOTPCREL relocation against large section 2016-05-13 11:07:02 -07:00
pr20093-2.s Don't convert GOTPCREL relocation against large section 2016-05-13 11:07:02 -07:00
pr20253-1.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1a.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1b.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1c.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1d.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1e.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1f.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1g.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1h.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1i.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1j.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1k.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1l.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-2a.c Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-2b.S Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-2c.S Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-2d.S Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-3.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-3.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4a.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4b.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4c.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4d.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4e.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-4f.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-5.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-5a.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-5b.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
protected1.d
protected1.s
protected2-k1om.d Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
protected2-l1om.d bfd/ 2012-04-03 16:01:38 +00:00
protected2.d
protected2.s
protected3-k1om.d Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
protected3-l1om.d bfd/ 2012-04-03 16:01:38 +00:00
protected3.d Add extern_protected_data and set it for x86 2015-04-10 11:06:34 -07:00
protected3.s Add extern_protected_data and set it for x86 2015-04-10 11:06:34 -07:00
protected4.d Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected4.s Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected5.d Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected5.s Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected6.s Check GOTOFF reloc against protected data on x86 2015-04-10 14:02:23 -07:00
protected6a.d Replace SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL 2015-04-11 07:56:48 -07:00
protected6b.d Add -z noextern-protected-data to ld for ELF/x86 2015-04-14 04:13:11 -07:00
protected7.s Check GOTOFF reloc against protected data on x86 2015-04-10 14:02:23 -07:00
protected7a.d Check GOTOFF reloc against protected data on x86 2015-04-10 14:02:23 -07:00
protected7b.d Check GOTOFF reloc against protected data on x86 2015-04-10 14:02:23 -07:00
simple.c Allow building x32 DSO from x86-64 object file. 2011-06-09 05:51:11 +00:00
split-by-file1.s Add missing files. 2010-09-07 17:52:32 +00:00
split-by-file2.s Add missing files. 2010-09-07 17:52:32 +00:00
split-by-file-nacl.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
split-by-file.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
start.s Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
tls-def1.c Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tls-gd1.S Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tls-ld1.S Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tls-main1.c Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tls.exp Update test name 2016-06-08 12:27:32 -07:00
tlsbin2-nacl.rd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsbin2.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsbin2.rd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsbin2.sd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsbin2.td Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsbin-nacl.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbin.dd Properly display extra data/address size prefixes 2014-05-09 10:58:00 -07:00
tlsbin.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbin.s Handle R_X86_64_TPOFF64 in executable. 2011-05-26 13:22:04 +00:00
tlsbin.sd bfd/ 2012-04-03 16:01:38 +00:00
tlsbin.td bfd/ 2012-04-03 16:01:38 +00:00
tlsbindesc-nacl.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbindesc.dd Don't align text/data/bss sections for ELF 2013-05-31 17:27:28 +00:00
tlsbindesc.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbindesc.s
tlsbindesc.sd bfd/ 2012-04-03 16:01:38 +00:00
tlsbindesc.td bfd/ 2012-04-03 16:01:38 +00:00
tlsbinpic2.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsbinpic.s
tlsdesc-nacl.pd Properly match PLT entry against .got.plt relocation 2014-07-16 10:57:49 -07:00
tlsdesc-nacl.rd [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
tlsdesc.dd Don't align text/data/bss sections for ELF 2013-05-31 17:27:28 +00:00
tlsdesc.pd Properly match PLT entry against .got.plt relocation 2014-07-16 10:57:49 -07:00
tlsdesc.rd [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
tlsdesc.s
tlsdesc.sd bfd/ 2012-04-03 16:01:38 +00:00
tlsdesc.td bfd/ 2012-04-03 16:01:38 +00:00
tlsg.s Handle R_X86_64_DTPOFF64 2013-06-28 15:07:55 +00:00
tlsg.sd Adjust ld-x86-64/tlsg.sd 2013-07-01 16:17:11 +00:00
tlsgd1.dd
tlsgd1.s
tlsgd2.d
tlsgd2.s
tlsgd3.d
tlsgd3.s
tlsgd4.dd Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsgd4.s Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsgd5.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd5a.s Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsgd5b.s Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsgd5c.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd6.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd6a.s Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsgd6b.s Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsgd6c.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd7.dd * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow 2013-08-29 10:25:27 +00:00
tlsgd7.s * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow 2013-08-29 10:25:27 +00:00
tlsgd8.dd * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow 2013-08-29 10:25:27 +00:00
tlsgd8.s * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow 2013-08-29 10:25:27 +00:00
tlsgd9.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd9.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd10.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd10.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd11.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd11.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd12.d Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd12.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd13.d Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd13.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd14.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgd14.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsgdesc-nacl.rd [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
tlsgdesc.dd Support AMD64/Intel ISAs in assembler/disassembler 2015-05-15 09:48:10 -07:00
tlsgdesc.rd [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
tlsgdesc.s
tlsie1.dd
tlsie1.s
tlsie2.d
tlsie2.s
tlsie3.d
tlsie3.s
tlsie4.dd X32: Add REX prefix to encode R_X86_64_GOTTPOFF 2014-11-07 12:22:53 -08:00
tlsie4.s Supprt TLS x32 IE->LE transition. 2011-03-03 22:11:33 +00:00
tlsld1.dd Properly display extra data/address size prefixes 2014-05-09 10:58:00 -07:00
tlsld1.s
tlsld2.dd Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsld2.s Support TLS x32 GD->IE, GD->LE and LD->LE transitions. 2011-03-12 14:38:31 +00:00
tlsld3.dd Properly display extra data/address size prefixes 2014-05-09 10:58:00 -07:00
tlsld3.s * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow 2013-08-29 10:25:27 +00:00
tlsld4.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsld4.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsld5.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsld5.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsld6.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsld6.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlsle1.d
tlsle1.s
tlslib.s
tlspic1.s * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow 2013-08-29 10:25:27 +00:00
tlspic2-nacl.rd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspic2.dd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspic2.rd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspic2.s
tlspic2.sd Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspic2.td Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspic3.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspic-nacl.rd [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
tlspic.dd Support AMD64/Intel ISAs in assembler/disassembler 2015-05-15 09:48:10 -07:00
tlspic.rd [x86-64] Omit dynamic sections symbols 2016-02-17 11:19:04 -08:00
tlspic.sd bfd/ 2012-04-03 16:01:38 +00:00
tlspic.td bfd/ 2012-04-03 16:01:38 +00:00
tlspie1.d
tlspie1.s
tlspie2.s Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspie2a.d Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspie2b.d Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
tlspie2c.d Support x86-64 TLS code sequences without PLT 2016-06-06 11:07:16 -07:00
undefined.s
unique1.d
unique1.s
x86-64-64-export-class.rd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
x86-64-x32-export-class.rd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
x86-64-x32.rd Allow building x32 DSO from x86-64 object file. 2011-06-09 05:51:11 +00:00
x86-64.exp Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00