old-cross-binutils/ld/testsuite/ld-i386
H.J. Lu bae420ef26 Optimize x86 GOT32X/GOTPCRELX relocations
R_386_GOT32X, R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX relocations
retrieve the symbol address via its GOT slot.  If the symbol address is
known at the link-time, we can use it directly by changing instruction
encoding.  Indirect branch can only be converted to PC relative direct
branch.  MOV can be changed to LEA or encoded differently with signed
address.  The subset of binary operations can be encoded only with
signed address.

If undefined weak symbol is resolved to zero link-time, we can use it
as address.  Zero addresss can't used with PC relative direct branch
when PIC is true since the current PC is unknown.  In 64-bit, 32-bit
relocation for PC relatiave direct branch to zero may also overflow.

If this optimization causes relocation overflow, --no-relax can be used
to work around it.

bfd/

	PR ld/19609
	* elf32-i386.c (elf_i386_convert_load): Convert to R_386_32 for
	load with locally bound symbols if PIC is false or there is no
	base register.  Optimize branch to 0 if PIC is false.
	(elf_i386_relocate_section): Don't generate dynamic relocations
	against undefined weak symbols if PIC is false.
	* elf64-x86-64.c (elf_x86_64_convert_load): Disable optimization
	if we can't estimate relocation overflow with --no-relax.
	Convert to R_X86_64_32S/R_X86_64_32 for load with locally bound
	symbols if PIC is false.  Optimize branch to 0 if PIC is false.
	(elf_x86_64_relocate_section): Don't generate dynamic relocations
	against undefined weak symbols if PIC is false.

ld/

	PR ld/19609
	* testsuite/ld-i386/got1.dd: Updated.
	* testsuite/ld-i386/lea1c.d: Likewise.
	* testsuite/ld-i386/load1-nacl.d: Likewise.
	* testsuite/ld-i386/load1.d: Likewise.
	* testsuite/ld-i386/load4b.d: Likewise.
	* testsuite/ld-i386/load5b.d: Likewise.
	* testsuite/ld-i386/mov1b.d: Likewise.
	* testsuite/ld-x86-64/mov1b.d: Likewise.
	* testsuite/ld-x86-64/mov1d.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-x86-64/gotpcrel1.dd: Likewise.
	* testsuite/ld-x86-64/lea1a.d: Likewise.
	* testsuite/ld-x86-64/lea1b.d: Likewise.
	* testsuite/ld-x86-64/lea1c.d: Likewise.
	* testsuite/ld-x86-64/lea1d.d: Likewise.
	* testsuite/ld-x86-64/lea1e.d: Likewise.
	* testsuite/ld-x86-64/lea1f.d: Likewise.
	* testsuite/ld-x86-64/mov1b.d: Likewise.
	* testsuite/ld-x86-64/mov1d.d: Likewise.
	* testsuite/ld-x86-64/pr13082-3b.d: Likewise.
	* testsuite/ld-x86-64/pr13082-4b.d: Likewise.
	* testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
	* testsuite/ld-i386/pr19609-1.s: New file.
	* testsuite/ld-i386/pr19609-1a.d: Likewise.
	* testsuite/ld-i386/pr19609-1b.d: Likewise.
	* testsuite/ld-i386/pr19609-1c.d: Likewise.
	* testsuite/ld-i386/pr19609-1d.d: Likewise.
	* testsuite/ld-i386/pr19609-1e.d: Likewise.
	* testsuite/ld-i386/pr19609-1f.d: Likewise.
	* testsuite/ld-i386/pr19609-1g.d: Likewise.
	* testsuite/ld-i386/pr19609-1h.d: Likewise.
	* testsuite/ld-i386/pr19609-1i.d: Likewise.
	* testsuite/ld-i386/pr19609-2.s: Likewise.
	* testsuite/ld-i386/pr19609-2a.d: Likewise.
	* testsuite/ld-i386/pr19609-2b.d: Likewise.
	* testsuite/ld-i386/pr19609-2c.d: Likewise.
	* testsuite/ld-i386/undefweak.s: Likewise.
	* testsuite/ld-i386/undefweaka.d: Likewise.
	* testsuite/ld-i386/undefweakb.d: Likewise.
	* testsuite/ld-x86-64/pr13082-3c.d: Likewise.
	* testsuite/ld-x86-64/pr13082-3d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1.s: Likewise.
	* testsuite/ld-x86-64/pr19609-1a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1f.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1g.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1h.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1i.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1j.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1k.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1l.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1m.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2.s: Likewise.
	* testsuite/ld-x86-64/pr19609-2a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-3.s: Likewise.
	* testsuite/ld-x86-64/pr19609-3a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-3b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4.s: Likewise.
	* testsuite/ld-x86-64/pr19609-4a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5.s: Likewise.
	* testsuite/ld-x86-64/pr19609-5a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6.s: Likewise.
	* testsuite/ld-x86-64/pr19609-6a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7.s: Likewise.
	* testsuite/ld-x86-64/pr19609-7a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7d.d: Likewise.
	* testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
	PR ld/19609.
	* testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
	and tests for PR ld/19609.
2016-02-26 09:39:24 -08:00
..
abs-iamcu.d Add Intel MCU support to ld 2015-05-11 11:29:03 -07:00
abs.d
abs.s
alloc.d
alloc.s
alloc.t bfd/ 2012-04-03 16:01:38 +00:00
branch1.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
branch1.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
call1.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call1.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
call2.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call2.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
call3.s Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
call3a.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3b.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3c.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3d.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3e.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3f.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3g.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
call3h.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
combreloc.d
combreloc.s
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 i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
copyreloc-main.out i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
copyreloc-main.S i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
copyreloc-main1.rd i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
copyreloc-main2.rd i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07: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.c i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
dummy.s Add Intel MCU support to ld 2015-05-11 11:29:03 -07:00
emit-relocs-nacl.rd bfd/ 2012-04-03 16:01:38 +00:00
emit-relocs.rd bfd/ 2012-04-03 16:01:38 +00:00
emit-relocs.s
export-class.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
foo.s Add Intel MCU support to ld 2015-05-11 11:29:03 -07:00
got1.dd Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
got1.out Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
got1a.S Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
got1b.c Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
got1c.c Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
got1d.S Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
hidden1.d
hidden1.s
hidden2.d bfd/ 2012-04-03 16:01:38 +00:00
hidden2.s
hidden3.d
hidden3.s
i386-export-class.rd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
i386-export-class.xd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
i386.exp Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
iamcu-1.d Add Intel MCU support to ld 2015-05-11 11:29:03 -07:00
iamcu-2.d Add Intel MCU support to ld 2015-05-11 11:29:03 -07:00
iamcu-3.d Add Intel MCU support to ld 2015-05-11 11:29:03 -07:00
iamcu-4.d Default e_machine to EM_IAMCU for i?86-*-elfiamcu 2015-05-11 12:06:33 -07:00
jmp1.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
jmp1.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
jmp2.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
jmp2.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
lea1.s Properly convert address load of __start_XXX/__stop_XXX 2015-10-26 08:11:55 -07:00
lea1a.d Properly convert address load of __start_XXX/__stop_XXX 2015-10-26 08:11:55 -07:00
lea1b.d Properly convert address load of __start_XXX/__stop_XXX 2015-10-26 08:11:55 -07:00
lea1c.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
lea1d.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1e.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
lea1f.d Convert mov to lea in size_dynamic_sections 2012-08-31 20:41:41 +00:00
load1-nacl.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
load1.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
load1.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
load2.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
load2.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
load3.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
load3.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
load4.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
load4a.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
load4b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
load5.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
load5a.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
load5b.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
load6.d Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
load6.s Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07: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
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 Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
mov3.d Add -mrelax-relocations= to x86 assembler 2016-02-03 08:25:15 -08:00
mov3.s Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
nogot1.d
nogot1.s Remove GOTOFF in ld-i386/nogot1.s. 2010-09-24 06:09:31 +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
pcrel8.d
pcrel8.s
pcrel16.d bfd/ 2012-04-03 16:01:38 +00:00
pcrel16.s
pcrel16abs.d bfd/ 2012-04-03 16:01:38 +00:00
pcrel16abs.s
plt-lib.c Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main.out Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main.rd Optimize out i386/x86-64 JUMP_SLOT relocation 2014-11-25 05:05:39 -08:00
plt-main1.c Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main1.rd Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
plt-main2.c Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main2.rd Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main3.c Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main3.rd Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
plt-main4.c Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-main4.rd Add R_386_GOT32X support to gas and ld 2015-10-22 04:47:07 -07:00
plt-main5.c Add function and function pointer tests for i386 2014-11-21 08:45:02 -08:00
plt-nacl.pd bfd/ 2012-04-03 16:01:38 +00:00
plt-pic-nacl.pd bfd/ 2012-04-03 16:01:38 +00:00
plt-pic.pd bfd/ 2012-04-03 16:01:38 +00: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 Always create PLT eh_frame section for i386/x86-64 2012-05-22 14:05:21 +00:00
pr12570a.s Always create PLT eh_frame section for i386/x86-64 2012-05-22 14:05:21 +00:00
pr12570b.d Always create PLT eh_frame section for i386/x86-64 2012-05-22 14:05:21 +00:00
pr12570b.s Always create PLT eh_frame section for i386/x86-64 2012-05-22 14:05:21 +00:00
pr12627.d Add a testcase for PR ld/12627. 2011-04-04 16:36:29 +00:00
pr12627.s Add a testcase for PR ld/12627. 2011-04-04 16:36:29 +00:00
pr12627.t bfd/ 2012-04-03 16:01:38 +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
pr13302.d Restore R_386_IRELATIVE and R_X86_64_IRELATIVE 2012-03-09 16:28:38 +00:00
pr13302.s Replace IRELATIVE relocations with RELATIVE in .rel.dyn. 2011-10-21 19:37:15 +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
pr17057.d Update elf_i386_compute_jump_table_size 2014-07-15 13:09:55 -07:00
pr17057.s Update elf_i386_compute_jump_table_size 2014-07-15 13:09:55 -07: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
pr17689.out i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
pr17689.rd i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
pr17689a.c i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
pr17689a.t i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
pr17689b.S i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07:00
pr17689now.rd Don't generate PLT relocations for now binding 2015-05-16 07:00:55 -07:00
pr17689ver.rd i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -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 i386: Allow copy relocs for building PIE 2015-04-22 05:30:01 -07: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
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
pr19031.out Create a PLT entry for R_386_PC32 in non-code sections 2015-09-30 08:45:13 -07:00
pr19031a.c Create a PLT entry for R_386_PC32 in non-code sections 2015-09-30 08:45:13 -07:00
pr19031b.S Create a PLT entry for R_386_PC32 in non-code sections 2015-09-30 08:45:13 -07:00
pr19031c.c Create a PLT entry for R_386_PC32 in non-code sections 2015-09-30 08:45:13 -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
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-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
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-nacl.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-1h.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-1i.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-nacl.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-nacl.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-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
pr19636-3e.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3f.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-3g.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-4.s [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-4a.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-4b.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-4c.d [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19636-4d.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
protected1.d
protected1.s
protected2.d
protected2.s
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
reloc.d bfd/ 2012-04-03 16:01:38 +00:00
reloc.s
start.s Add Intel MCU support to ld 2015-05-11 11:29:03 -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 bfd/ 2012-04-03 16:01:38 +00: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
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
tlsbinpic.s
tlsdesc-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
tlsdesc.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsdesc.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
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
tlsg.sd bfd/ 2012-04-03 16:01:38 +00:00
tlsgd1.dd
tlsgd1.s
tlsgd2.d
tlsgd2.s
tlsgdesc-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
tlsgdesc.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsgdesc.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
tlsgdesc.s
tlsie1.dd
tlsie1.s
tlsie2.d
tlsie2.s
tlsie3.d
tlsie3.s
tlsie4.d
tlsie4.s
tlsie5.d
tlsie5.s
tlsindntpoff.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsindntpoff.s
tlsld1.dd
tlsld1.s
tlslib.s
tlsnopic-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
tlsnopic.dd Don't align text/data/bss sections for ELF 2013-05-31 17:27:28 +00:00
tlsnopic.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
tlsnopic.sd bfd/ 2012-04-03 16:01:38 +00:00
tlsnopic1.s
tlsnopic2.s
tlspic-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
tlspic.dd Don't align text/data/bss sections for ELF 2013-05-31 17:27:28 +00:00
tlspic.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
tlspic.sd bfd/ 2012-04-03 16:01:38 +00:00
tlspic.td bfd/ 2012-04-03 16:01:38 +00:00
tlspic1.s
tlspic2.s
tlspie1.d
tlspie1.s
tlspie2.d bfd/ 2012-04-03 16:01:38 +00:00
tlspie2.s Properly handle R_386_TLS_LDO_32 for PIE. 2011-04-08 16:14:49 +00:00
undefweak.s Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
undefweaka.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
undefweakb.d Optimize x86 GOT32X/GOTPCRELX relocations 2016-02-26 09:39:24 -08:00
vxworks1-lib.dd
vxworks1-lib.nd
vxworks1-lib.rd ld/testsuite/ 2011-07-27 20:58:14 +00:00
vxworks1-lib.s
vxworks1-lib.td
vxworks1-static.d
vxworks1.dd
vxworks1.ld
vxworks1.rd
vxworks1.s
vxworks2-static.sd
vxworks2.s
vxworks2.sd
warn1.d
warn1.s
zero.s