binutils-gdb/ld/testsuite/ld-i386
H.J. Lu cd04836359 x86: Remove the unused _GLOBAL_OFFSET_TABLE_
Since _GLOBAL_OFFSET_TABLE_ may be referenced implicitly on x86,
checking ref_regular_nonweak leaves the unused _GLOBAL_OFFSET_TABLE_
in output.  This patch checks explicit GOT references instead.

ld-i386/discarded1.s and ld-x86-64/discarded1.s are updated to avoid
linker optimization which removes GOT references.

bfd/

	PR ld/22782
	* elf32-i386.c (elf_i386_check_relocs): Set got_referenced if
	_GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve
	undefined weak symbol to 0.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced
	if _GLOBAL_OFFSET_TABLE_ is referenced.
	* elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check
	got_referenced instead of ref_regular_nonweak.  Remove the
	unused _GLOBAL_OFFSET_TABLE_ from symbol table.
	* elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced.

ld/

	PR ld/22782
	* testsuite/ld-i386/discarded1.s: Replace mov with div.
	* testsuite/ld-x86-64/discarded1.s: Likewise.
	* testsuite/ld-i386/i386.exp: Run pr22782.
	* testsuite/ld-i386/load1-nacl.d: Updated for removing
	_GLOBAL_OFFSET_TABLE_ from output.
	* testsuite/ld-i386/load1.d: Likewise.
	* testsuite/ld-x86-64/load1a-nacl.d: Likewise.
	* testsuite/ld-x86-64/load1a.d: Likewise.
	* testsuite/ld-x86-64/load1b-nacl.d: Likewise.
	* testsuite/ld-x86-64/load1b.d: Likewise.
	* testsuite/ld-i386/pr22782.d: New file.
	* testsuite/ld-i386/pr22782.s: Likewise.
	* testsuite/ld-x86-64/pr22782.s: Likewise.
	* testsuite/ld-x86-64/pr22782a.d: Likewise.
	* testsuite/ld-x86-64/pr22782b.d: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
2018-02-05 08:38:16 -08:00
..
abs-iamcu.d
abs.d
abs.s
alloc.d
alloc.s
alloc.t
branch1.d
branch1.s
call1.d
call1.s
call2.d
call2.s
call3.s
call3a.d
call3b.d
call3c.d x86: Remove linker option: -z prefix-nop 2017-06-02 14:49:37 -07:00
call3d.d
call3e.d
call3f.d
call3g.d
call3h.d
combreloc.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
combreloc.s
compressed1.d
compressed1.s
copyreloc-lib.c
copyreloc-main1.rd
copyreloc-main2.rd
copyreloc-main.out
copyreloc-main.S
discarded1.d
discarded1.s x86: Remove the unused _GLOBAL_OFFSET_TABLE_ 2018-02-05 08:38:16 -08:00
discarded1.t
dummy.c
dummy.s
emit-relocs-nacl.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
emit-relocs.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
emit-relocs.s
export-class.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
foo.s
got1.dd
got1.out
got1a.S
got1b.c
got1c.c
got1d.S
hidden1.d
hidden1.s
hidden2.d
hidden2.s
hidden3.d
hidden3.s
i386-export-class.rd
i386-export-class.xd
i386.exp x86: Remove the unused _GLOBAL_OFFSET_TABLE_ 2018-02-05 08:38:16 -08:00
iamcu-1.d
iamcu-2.d
iamcu-3.d
iamcu-4.d
ibt-plt-1.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-1.s x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
ibt-plt-2.s x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
ibt-plt-2a.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-2b.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-2c.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-2d.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-3.s x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
ibt-plt-3a.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-3b.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-3c.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ibt-plt-3d.d x86: Correct unwind information for the second PLT 2017-09-01 06:12:06 -07:00
ifunc-1a.c Add 2 i386 tests to call IFUNC functions via GOT 2016-06-13 09:27:12 -07:00
ifunc-1b.S Add 2 i386 tests to call IFUNC functions via GOT 2016-06-13 09:27:12 -07:00
ifunc-1c.S Add 2 i386 tests to call IFUNC functions via GOT 2016-06-13 09:27:12 -07:00
ifunc-1d.S Add 2 i386 tests to call IFUNC functions via GOT 2016-06-13 09:27:12 -07:00
jmp1.d
jmp1.s
jmp2.d
jmp2.s
lea1.s
lea1a.d Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
lea1b.d Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
lea1c.d
lea1d.d ld/testsuite: Replace -Sw with -SW for readelf 2018-02-04 07:51:10 -08:00
lea1e.d ld/testsuite: Replace -Sw with -SW for readelf 2018-02-04 07:51:10 -08:00
lea1f.d ld/testsuite: Replace -Sw with -SW for readelf 2018-02-04 07:51:10 -08:00
libno-plt-1b.dd i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
libno-plt-1b.rd i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
load1-nacl.d x86: Remove the unused _GLOBAL_OFFSET_TABLE_ 2018-02-05 08:38:16 -08:00
load1.d x86: Remove the unused _GLOBAL_OFFSET_TABLE_ 2018-02-05 08:38:16 -08:00
load1.s
load2.d
load2.s
load3.d
load3.s
load4.s
load4a.d
load4b.d
load5.s
load5a.d
load5b.d
load6.d
load6.s
load7.d Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
load7.map Test load conversion with symbol versioning for x86 2016-05-06 05:28:18 -07:00
load7.s Test load conversion with symbol versioning for x86 2016-05-06 05:28:18 -07:00
mov1.s
mov1a.d
mov1b.d Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
mov2.s
mov2a.d
mov2b.d
mov3.d
mov3.s
no-plt-1a.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1a.rd i386: Test external function reference without PLT 2016-06-08 12:41:50 -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 i386: Test external function reference without PLT 2016-06-08 12:41:50 -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 i386: Test external function reference without PLT 2016-06-08 12:41:50 -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 i386: Test external function reference without PLT 2016-06-08 12:41:50 -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 i386: Test external function reference without PLT 2016-06-08 12:41:50 -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 i386: Test external function reference without PLT 2016-06-08 12:41:50 -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 i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
no-plt-1h.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1h.rd i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
no-plt-1i.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1i.rd i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
no-plt-1j.dd X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-1j.rd i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
no-plt-check1a.S X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-check1b.S X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-extern1a.S X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-extern1b.S X86: Add tests for static function pointer 2016-06-15 09:44:21 -07:00
no-plt-func1.c i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
no-plt-main1.c i386: Test external function reference without PLT 2016-06-08 12:41:50 -07:00
no-plt.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nogot1.d Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
nogot1.s
nogot2.d
nogot2.s
pass.c ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
pass.out Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
pcrel8.d
pcrel8.s
pcrel16.d
pcrel16.s
pcrel16abs.d
pcrel16abs.s
pie1-nacl.d i386: Add tests for PIE with undefined weak symbol 2017-07-17 12:42:32 -07:00
pie1.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
pie1.s i386: Add tests for PIE with undefined weak symbol 2017-07-17 12:42:32 -07:00
plt2.dd x86: Generate PLT relocations for -z now 2017-05-11 07:45:59 -07:00
plt2.rd x86: Generate PLT relocations for -z now 2017-05-11 07:45:59 -07:00
plt2.s i386: Improve PLT generation and synthetic PLT symbols 2017-05-08 10:11:32 -07:00
plt-lib.c
plt-main1.c
plt-main1.rd
plt-main2.c
plt-main2.rd
plt-main3.c
plt-main3.rd
plt-main4.c
plt-main4.rd
plt-main5.c
plt-main-ibt.dd x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
plt-main.out
plt-main.rd
plt-nacl.pd Enhance objdump so that it will use .got, .plt and .plt.got section symbols when disassembling, and it will use dynamic relocs to interpret entries in the PLT and GOT. 2016-10-11 13:50:10 +01:00
plt-pic2.dd Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
plt-pic-nacl.pd Enhance objdump so that it will use .got, .plt and .plt.got section symbols when disassembling, and it will use dynamic relocs to interpret entries in the PLT and GOT. 2016-10-11 13:50:10 +01:00
plt-pic.pd Enhance objdump so that it will use .got, .plt and .plt.got section symbols when disassembling, and it will use dynamic relocs to interpret entries in the PLT and GOT. 2016-10-11 13:50:10 +01:00
plt-pic.s
plt-pie-ibt.dd x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
plt.pd Enhance objdump so that it will use .got, .plt and .plt.got section symbols when disassembling, and it will use dynamic relocs to interpret entries in the PLT and GOT. 2016-10-11 13:50:10 +01:00
plt.s
pltgot-1.d
pltgot-1.s
pltgot-2.d
pltlib.s
pr12570a.d i386: Skip pr12570 tests for nacl targets 2017-04-24 09:46:04 -07:00
pr12570a.s
pr12570b.d i386: Skip pr12570 tests for nacl targets 2017-04-24 09:46:04 -07:00
pr12570b.s
pr12627.d
pr12627.s
pr12627.t
pr12718.d Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
pr12718.s
pr12921.d Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
pr12921.s
pr13302.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr13302.s
pr14215.d
pr14215.s
pr17057.d
pr17057.s
pr17306a.s
pr17306b.s
pr17689.out
pr17689.rd
pr17689a.c
pr17689a.t
pr17689b.S
pr17689now.rd x86: Generate PLT relocations for -z now 2017-05-11 07:45:59 -07:00
pr17689ver.rd
pr17709-nacl.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr17709.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr17709a.s
pr17709b.s
pr17827.rd
pr17935-1.d x86 map file textrel 2017-12-04 23:05:01 +10:30
pr17935-1.s
pr17935-2.d x86 map file textrel 2017-12-04 23:05:01 +10:30
pr17935-2.s
pr18801.d
pr18801.s
pr18815.d
pr18815.s
pr18900.out
pr18900a.c
pr18900a.rd
pr18900b.c
pr18900b.rd
pr18900c.c
pr19031.out
pr19031a.c
pr19031b.S
pr19031c.c
pr19175.d Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
pr19175.s
pr19175.t
pr19319.dd
pr19319a.S
pr19319b.S
pr19539.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19539.s Add more tests for PR ld/19539 2016-03-13 08:57:10 -07:00
pr19539.t Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
pr19609-1.s
pr19609-1a.d
pr19609-1b.d
pr19609-1c.d
pr19609-1d.d
pr19609-1e.d
pr19609-1f.d
pr19609-1g.d
pr19609-1h.d
pr19609-1i.d Don't convert R_386_GOT32 relocation 2016-05-19 12:57:11 -07:00
pr19609-2.s
pr19609-2a.d
pr19609-2b.d
pr19609-2c.d
pr19615.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19615.s
pr19636-1.s
pr19636-1a.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-1b.d
pr19636-1c.d
pr19636-1d-nacl.d Update more tests for objdump change 2016-10-12 09:36:05 +10:30
pr19636-1d.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
pr19636-1e.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-1f.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-1g.d
pr19636-1h.d
pr19636-1i.d
pr19636-1j.d ld: Update tests for warning of "-z dynamic-undefined-weak ignored" 2017-10-12 01:52:33 -07:00
pr19636-1k.d ld: Update tests for warning of "-z dynamic-undefined-weak ignored" 2017-10-12 01:52:33 -07:00
pr19636-1l.d ld: Update tests for warning of "-z dynamic-undefined-weak ignored" 2017-10-12 01:52:33 -07:00
pr19636-2.s
pr19636-2a.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-2b.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-2c-nacl.d Update more tests for objdump change 2016-10-12 09:36:05 +10:30
pr19636-2c.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
pr19636-2d-nacl.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-2d.d
pr19636-2e-nacl.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-2e.d Don't check undefined symbol for IFUNC reloc 2016-06-16 11:28:29 -07:00
pr19636-3.s
pr19636-3a.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-3b.d
pr19636-3c.d
pr19636-3d.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-3e.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-3f.d
pr19636-3g.d
pr19636-3h.d x86: Run PR ld/19636 tests with -z dynamic-undefined-weak 2017-10-11 13:36:19 -07:00
pr19636-3i.d x86: Run PR ld/19636 tests with -z dynamic-undefined-weak 2017-10-11 13:36:19 -07:00
pr19636-4.s
pr19636-4a.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19636-4b.d
pr19636-4c.d
pr19636-4d.d Require --no-dynamic-linker with -static -E/--dynamic-list 2017-04-21 12:01:05 -07:00
pr19645.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19645.s
pr19704.out
pr19704a.c
pr19704b.c
pr19827-nacl.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr19827.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
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
pr20117.d Don't convert R_386_GOT32 relocation 2016-05-19 12:57:11 -07:00
pr20117.s Don't convert R_386_GOT32 relocation 2016-05-19 12:57:11 -07:00
pr20244-1.s Subtract GOT base only with a base register 2016-06-11 21:24:01 -07:00
pr20244-1a.d Subtract GOT base only with a base register 2016-06-11 21:24:01 -07:00
pr20244-1b.d Subtract GOT base only with a base register 2016-06-11 21:24:01 -07:00
pr20244-1c.d Subtract GOT base only with a base register 2016-06-11 21:24:01 -07:00
pr20244-2.s Add the GOT base for GOT32 relocs against IFUNC 2016-06-13 11:11:23 -07:00
pr20244-2a.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20244-2b.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20244-2c.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20244-2d.d Add the GOT base for GOT32 relocs against IFUNC 2016-06-13 11:11:23 -07:00
pr20244-3a.c Add the GOT base for GOT32 relocs against IFUNC 2016-06-13 11:11:23 -07:00
pr20244-3b.S Add the GOT base for GOT32 relocs against IFUNC 2016-06-13 11:11:23 -07:00
pr20244-3c.S Add the GOT base for GOT32 relocs against IFUNC 2016-06-13 11:11:23 -07:00
pr20244-3d.S Add the GOT base for GOT32 relocs against IFUNC 2016-06-13 11:11:23 -07:00
pr20244-4.s Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error 2017-02-15 11:11:40 -08:00
pr20244-4a.d Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error 2017-02-15 11:11:40 -08:00
pr20244-4b.d Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error 2017-02-15 11:11:40 -08:00
pr20244-4c.d Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error 2017-02-15 11:11:40 -08:00
pr20253-1a.c Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1b.S Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1c.S Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-1d.S 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 readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr20253-4b.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr20253-4c.d Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20253-5.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
pr20253-5.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
pr20515.d i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
pr20515.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
pr20830.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
pr20830.s i386/x86-64: Add unwind info for .plt.got section 2017-01-10 13:31:59 -08:00
pr21168a.c i386: Allow "lea foo@GOT, %reg" in PIC 2017-02-15 11:39:48 -08:00
pr21168b.S i386: Allow "lea foo@GOT, %reg" in PIC 2017-02-15 11:39:48 -08:00
pr21884-nacl.d ld: Restore linker scripts in PR ld/21884 tests 2017-08-13 05:41:37 -07:00
pr21884-nacl.t ld: Restore linker scripts in PR ld/21884 tests 2017-08-13 05:41:37 -07:00
pr21884.d ld: Restore linker scripts in PR ld/21884 tests 2017-08-13 05:41:37 -07:00
pr21884.t ld: Restore linker scripts in PR ld/21884 tests 2017-08-13 05:41:37 -07:00
pr21997-1a.S Disallow copy relocation against protected data symbol 2017-08-26 19:26:21 -07:00
pr21997-1b.c Disallow copy relocation against protected data symbol 2017-08-26 19:26:21 -07:00
pr21997-1c.S Disallow copy relocation against protected data symbol 2017-08-26 19:26:21 -07:00
pr22001-1a.c x86-64: Check relocations with -z nocopyreloc 2017-08-24 06:34:38 -07:00
pr22001-1b.c x86-64: Check relocations with -z nocopyreloc 2017-08-24 06:34:38 -07:00
pr22001-1c.S x86-64: Check relocations with -z nocopyreloc 2017-08-24 06:34:38 -07:00
pr22115-1.s x86: Properly handle __ehdr_start 2017-09-09 05:05:29 -07:00
pr22115-1a.d x86: Properly handle __ehdr_start 2017-09-09 05:05:29 -07:00
pr22115-1b.d x86: Properly handle __ehdr_start 2017-09-09 05:05:29 -07:00
pr22115-1c.d x86: Properly handle __ehdr_start 2017-09-09 05:05:29 -07:00
pr22115-1d.d x86: Properly handle __ehdr_start 2017-09-09 05:05:29 -07:00
pr22135.d x86: Cache section contents and relocations 2017-09-14 12:29:29 -07:00
pr22135.s x86: Cache section contents and relocations 2017-09-14 12:29:29 -07:00
pr22782.d x86: Remove the unused _GLOBAL_OFFSET_TABLE_ 2018-02-05 08:38:16 -08:00
pr22782.s x86: Remove the unused _GLOBAL_OFFSET_TABLE_ 2018-02-05 08:38:16 -08:00
property-1.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-2.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-3.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-4.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-5.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-6.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-6a.c ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-6b.c ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-6c.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-7.r ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-no-copy.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-stack.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-unsorted-1.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-unsorted-2.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-x86-1.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-x86-2.S ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
property-x86-3.d x86: Merge X86_ISA_1_USED/X86_ISA_1_NEEDED properties 2017-05-12 08:07:43 -07:00
property-x86-3.s x86: Merge X86_ISA_1_USED/X86_ISA_1_NEEDED properties 2017-05-12 08:07:43 -07:00
property-x86-4a.d x86: Add GC testcases with property sections 2017-05-19 08:45:24 -07:00
property-x86-4a.s x86: Add GC testcases with property sections 2017-05-19 08:45:24 -07:00
property-x86-4b.d x86: Add GC testcases with property sections 2017-05-19 08:45:24 -07:00
property-x86-4b.s x86: Add GC testcases with property sections 2017-05-19 08:45:24 -07:00
property-x86-empty.s x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt1a.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt1b.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt2.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt3a.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt3b.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt4.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt5.d x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-ibt.s x86: Support Intel IBT with IBT property and IBT-enable PLT 2017-06-22 05:44:53 -07:00
property-x86-shstk1a.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk1b.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk2.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk3a.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk3b.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk4.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk5.d x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
property-x86-shstk.s x86: Support Intel Shadow Stack with SHSTK property 2017-06-22 05:50:31 -07:00
protected1.d
protected1.s
protected2.d
protected2.s
protected3.d
protected3.s
protected4.d
protected4.s
protected5.d
protected5.s
protected6.s
protected6a.d
protected6b.d
protected7.d x86: Clear extern_protected_data for GNU_PROPERTY_NO_COPY_ON_PROTECTED 2017-08-23 10:15:58 -07:00
protected7.s x86: Clear extern_protected_data for GNU_PROPERTY_NO_COPY_ON_PROTECTED 2017-08-23 10:15:58 -07:00
reloc.d
reloc.s
start.s
tls-def1.c Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tls-gd1.S Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tls-ld1.S Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tls-main1.c Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tls.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tlsbin2-nacl.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsbin2.dd Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsbin2.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsbin2.sd Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsbin2.td Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsbin-nacl.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
tlsbin.dd
tlsbin.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
tlsbin.s
tlsbin.sd
tlsbin.td
tlsbindesc-nacl.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsbindesc.dd
tlsbindesc.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsbindesc.s
tlsbindesc.sd
tlsbindesc.td
tlsbinpic2.s Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsbinpic.s
tlsdesc1a.c x86: Add run-time tests for -mtls-dialect=gnu2 2017-04-28 12:42:18 -07:00
tlsdesc1b.c x86: Add run-time tests for -mtls-dialect=gnu2 2017-04-28 12:42:18 -07:00
tlsdesc2.d x86: Add DT_PLTRELSZ/DT_PLTREL/DT_JMPREL for PLT relocation 2017-04-26 15:34:00 -07:00
tlsdesc-nacl.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsdesc.dd
tlsdesc.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsdesc.s
tlsdesc.sd
tlsdesc.td
tlsg.s
tlsg.sd
tlsgd1.dd
tlsgd1.s
tlsgd2.d
tlsgd2.s
tlsgd3.dd Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsgd3.s Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsgd4.d Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsgd4.s Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsgdesc-nacl.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsgdesc.dd
tlsgdesc.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsgdesc.s
tlsie1.dd
tlsie1.s
tlsie2.d
tlsie2.s
tlsie3.d
tlsie3.s
tlsie4.d
tlsie4.s
tlsie5.d
tlsie5.s
tlsindntpoff.dd
tlsindntpoff.s
tlsld1.dd
tlsld1.s
tlsld2.dd Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlsld2.s Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlslib.s
tlsnopic1.s
tlsnopic2.s
tlsnopic-nacl.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsnopic.dd
tlsnopic.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsnopic.sd
tlspic1.s
tlspic2-nacl.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlspic2.dd Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspic2.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlspic2.s
tlspic2.sd Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspic2.td Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspic3.s Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspic-nacl.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
tlspic.dd
tlspic.rd readelf ngettext fixes 2017-11-07 17:01:16 +10:30
tlspic.sd
tlspic.td
tlspie1.d
tlspie1.s
tlspie2.d
tlspie2.s
tlspie3.s Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspie3a.d Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspie3b.d Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
tlspie3c.d Support i386 TLS code sequences without PLT 2016-06-08 12:01:50 -07:00
undefweak.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
undefweaka.d
undefweakb.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
vxworks1-lib.dd
vxworks1-lib.nd
vxworks1-lib.rd
vxworks1-lib.s
vxworks1-lib.td
vxworks1-static.d
vxworks1.dd
vxworks1.ld
vxworks1.rd
vxworks1.s
vxworks2-static.sd
vxworks2.s
vxworks2.sd i386: Set ELF_MAXPAGESIZE to 0x1000 for VxWorks 2017-04-24 09:37:10 -07:00
warn1.d
warn1.s
weakundef1.c i386: Add hidden weak undefined tests 2017-06-22 15:13:15 -07:00
zero.s