binutils-gdb/ld/testsuite/ld-x86-64
Alan Modra ffbc01ccf0 bfd/
* elflink.c (elf_link_input_bfd): Provide a file symbol for
	each input file with local syms, if the input lacks such.
	(bfd_elf_final_link): Add a file symbol to mark end of locals
	for which we can associate with input files.
	(struct elf_final_link_info): Add filesym_count field.
	(struct elf_outext_info): Add need_second_pass and second_pass.
	(elf_link_output_extsym): Detect symbols defined in the output
	file, emit them on second pass over locals.
ld/testsuite/
Update to suit added STT_FILE symbols.
2012-06-06 10:50:18 +00: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
compressed1.d Add testcases for PR ld/11817. 2010-07-15 00:42:23 +00:00
compressed1.s Add testcases for PR ld/11817. 2010-07-15 00:42:23 +00: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
dwarfreloc.exp bfd/ 2012-04-03 16:01:38 +00:00
dwarfreloc.rd
dwarfreloc1.s
dwarfreloc2.s
foo.s Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
hidden1.d
hidden1.s
hidden2.d bfd/ 2012-04-03 16:01:38 +00:00
hidden2.s
hidden3.d
hidden3.s
ia32-1.d Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
ia32-2.d Replace n32 with x32. 2011-01-15 00:38:35 +00:00
ia32-3.d Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
ilp32-1.d Rename --n32 to --x32. 2011-01-14 23:07:11 +00:00
ilp32-2.d Rename --n32 to --x32. 2011-01-14 23:07:11 +00:00
ilp32-3.d Rename --n32 to --x32. 2011-01-14 23:07:11 +00:00
ilp32-4-nacl.d bfd/ 2012-06-06 10:50:18 +00:00
ilp32-4.d bfd/ 2012-06-06 10:50:18 +00: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
line.exp bfd/ 2012-04-03 16:01:38 +00:00
lp64-1.d Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
lp64-2.d Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
lp64-3.d Replace n32 with x32. 2011-01-15 00:38:35 +00: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
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
pcrel8.d
pcrel16.d bfd/ 2012-04-03 16:01:38 +00:00
plt-nacl.pd * ld-x86-64/plt-nacl.pd: Fix expected nop padding. 2012-04-24 17:24:20 +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
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 bfd/ 2012-06-06 10:50:18 +00:00
pr12718.s Add testcases for PR ld/12718. 2011-05-01 13:38:22 +00:00
pr12921.d bfd/ 2012-06-06 10:50:18 +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 Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00: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 Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. 2011-08-12 19:42:39 +00: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 Use .got.plt for IFUNC symbols if there are no GOT relocations. 2011-09-12 18:17:36 +00:00
pr13082-5b.d Restore R_386_IRELATIVE and R_X86_64_IRELATIVE 2012-03-09 16:28:38 +00: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 Restore R_386_IRELATIVE and R_X86_64_IRELATIVE 2012-03-09 16:28:38 +00:00
pr13082-6b.d Restore R_386_IRELATIVE and R_X86_64_IRELATIVE 2012-03-09 16:28:38 +00: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
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 bfd/ 2012-04-03 16:01:38 +00:00
protected3.s
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
simple.c Allow building x32 DSO from x86-64 object file. 2011-06-09 05:51:11 +00:00
split-by-file-nacl.rd bfd/ 2012-06-06 10:50:18 +00:00
split-by-file.rd bfd/ 2012-06-06 10:50:18 +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
start.s Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
tlsbin-nacl.rd bfd/ 2012-04-03 16:01:38 +00:00
tlsbin.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsbin.rd bfd/ 2012-06-06 10:50:18 +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 bfd/ 2012-04-03 16:01:38 +00:00
tlsbindesc.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsbindesc.rd bfd/ 2012-06-06 10:50:18 +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.pd * ld-x86-64/plt-nacl.pd: Fix expected nop padding. 2012-04-24 17:24:20 +00:00
tlsdesc-nacl.rd Don't make _DYNAMIC/_GLOBAL_OFFSET_TABLE_ absolute 2012-05-18 22:26:18 +00:00
tlsdesc.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsdesc.pd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.rd bfd/ 2012-06-06 10:50:18 +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
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 bfd/ 2012-04-03 16:01:38 +00: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
tlsgd6.dd bfd/ 2012-04-03 16:01:38 +00: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
tlsgdesc-nacl.rd Don't make _DYNAMIC/_GLOBAL_OFFSET_TABLE_ absolute 2012-05-18 22:26:18 +00:00
tlsgdesc.dd bfd/ 2012-04-03 16:01:38 +00:00
tlsgdesc.rd Don't make _DYNAMIC/_GLOBAL_OFFSET_TABLE_ absolute 2012-05-18 22:26:18 +00:00
tlsgdesc.s
tlsie1.dd
tlsie1.s
tlsie2.d
tlsie2.s
tlsie3.d
tlsie3.s
tlsie4.dd Supprt TLS x32 IE->LE transition. 2011-03-03 22:11:33 +00:00
tlsie4.s Supprt TLS x32 IE->LE transition. 2011-03-03 22:11:33 +00:00
tlsld1.dd
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
tlsle1.d
tlsle1.s
tlslib.s
tlspic-nacl.rd Don't make _DYNAMIC/_GLOBAL_OFFSET_TABLE_ absolute 2012-05-18 22:26:18 +00:00
tlspic.dd bfd/ 2012-04-03 16:01:38 +00:00
tlspic.rd bfd/ 2012-06-06 10:50:18 +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
undefined.s
unique1.d
unique1.s
x86-64-x32.rd Allow building x32 DSO from x86-64 object file. 2011-06-09 05:51:11 +00:00
x86-64.exp ld/testsuite/ 2012-05-22 18:22:03 +00:00