old-cross-binutils/ld/testsuite/ld-i386
Jakub Jelinek e41b3a1379 PR ld/12570
include/
	* bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info
	option.
ld/
	* emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO,
	OPTION_NO_LD_GENERATED_UNWIND_INFO): Define.
	(gld${EMULATION_NAME}_handle_option): Handle
	--ld-generated-unwind-info and --no-ld-generated-unwind-info.
	* ld.texinfo (--ld-generated-unwind-info,
	--no-ld-generated-unwind-info): Document.
bfd/
	* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations
	at all for linker created .eh_frame sections.
	(_bfd_elf_discard_section_eh_frame): Handle linker created
	.eh_frame sections with no relocations.
	* elf64-x86-64.c: Include dwarf2.h.
	(elf_x86_64_eh_frame_plt): New variable.
	(PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET,
	PLT_FDE_LEN_OFFSET): Define.
	(struct elf_x86_64_link_hash_table): Add plt_eh_frame field.
	(elf_x86_64_create_dynamic_sections): Create and fill in
	.eh_frame section for .plt section.
	(elf_x86_64_size_dynamic_sections): Write .plt section size
	into .eh_frame FDE covering .plt section.
	(elf_x86_64_finish_dynamic_sections): Write .plt section
	start into .eh_frame FDE covering .plt section.  Call
	_bfd_elf_write_section_eh_frame on htab->plt_eh_frame section.
	(elf_backend_plt_alignment): Define to 4.
	* elf32-i386.c: Include dwarf2.h.
	(elf_i386_eh_frame_plt): New variable.
	(PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET,
	PLT_FDE_LEN_OFFSET): Define.
	(struct elf_i386_link_hash_table): Add plt_eh_frame field.
	(elf_i386_create_dynamic_sections): Create and fill in
	.eh_frame section for .plt section.
	(elf_i386_size_dynamic_sections): Write .plt section size
	into .eh_frame FDE covering .plt section.
	(elf_i386_finish_dynamic_sections): Write .plt section
	start into .eh_frame FDE covering .plt section.  Call
	_bfd_elf_write_section_eh_frame on htab->plt_eh_frame section.
	(elf_backend_plt_alignment): Define to 4.
ld/testsuite/
	* ld-x86-64/x86-64.exp: Link some testcases with
	--no-ld-generated-unwind-info.
	* ld-x86-64/tlsbin.rd: Add --no-ld-generated-unwind-info to ld
	comment.
	* ld-x86-64/tlsdesc.dd: Likewise.
	* ld-x86-64/tlspic.dd: Likewise.
	* ld-x86-64/tlsdesc.sd: Likewise.
	* ld-x86-64/tlspic.rd: Likewise.
	* ld-x86-64/tlsbindesc.rd: Likewise.
	* ld-x86-64/tlsbindesc.sd: Likewise.
	* ld-x86-64/tlsbin.td: Likewise.
	* ld-x86-64/tlsdesc.pd: Likewise.
	* ld-x86-64/tlsdesc.td: Likewise.
	* ld-x86-64/tlsbindesc.dd: Likewise.
	* ld-x86-64/tlsbin.dd: Likewise.
	* ld-x86-64/tlsgdesc.rd: Likewise.
	* ld-x86-64/tlspic.sd: Likewise.
	* ld-x86-64/tlsbindesc.td: Likewise.
	* ld-x86-64/tlspic.td: Likewise.
	* ld-x86-64/tlsbin.sd: Likewise.
	* ld-x86-64/ilp32-4.d: Likewise.
	* ld-x86-64/tlsgdesc.dd: Add --no-ld-generated-unwind-info to ld
	comment.  Adjust.
	* ld-x86-64/tlsdesc.rd: Likewise.
	* ld-x86-64/tlsgd6.dd: Adjust.
	* ld-x86-64/tlsgd5.dd: Likewise.
	* ld-i386/i386.exp: Link some testcases with
	--no-ld-generated-unwind-info.
	* ld-i386/tlsbin.rd: Add --no-ld-generated-unwind-info to ld
	comment..
	* ld-i386/tlsdesc.dd: Likewise.
	* ld-i386/tlspic.dd: Likewise.
	* ld-i386/tlsdesc.sd: Likewise.
	* ld-i386/tlsgdesc.dd: Likewise.
	* ld-i386/tlsnopic.sd: Likewise.
	* ld-i386/tlspic.rd: Likewise.
	* ld-i386/tlsdesc.rd: Likewise.
	* ld-i386/tlsbindesc.rd: Likewise.
	* ld-i386/tlsbindesc.sd: Likewise.
	* ld-i386/tlsbin.td: Likewise.
	* ld-i386/tlsdesc.td: Likewise.
	* ld-i386/tlsnopic.dd: Likewise.
	* ld-i386/tlsbindesc.dd: Likewise.
	* ld-i386/tlsbin.dd: Likewise.
	* ld-i386/tlsgdesc.rd: Likewise.
	* ld-i386/tlspic.sd: Likewise.
	* ld-i386/tlsnopic.rd: Likewise.
	* ld-i386/tlsbindesc.td: Likewise.
	* ld-i386/tlspic.td: Likewise.
	* ld-i386/tlsbin.sd: Likewise.
2011-06-20 13:18:52 +00:00
..
abs.d 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> 2009-04-08 21:48:47 +00:00
abs.s
alloc.d bfd/ 2010-04-22 01:51:01 +00:00
alloc.s bfd/ 2007-03-22 15:50:38 +00:00
alloc.t bfd/ 2007-03-22 15:50:38 +00:00
combreloc.d 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> 2007-04-05 13:47:02 +00:00
combreloc.s
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
emit-relocs.d
emit-relocs.s
hidden1.d bfd/ 2008-03-16 22:26:23 +00:00
hidden1.s bfd/ 2008-03-16 22:26:23 +00:00
hidden2.d Don't hard code expected output. 2010-07-13 17:42:29 +00:00
hidden2.s bfd/ 2008-03-16 22:26:23 +00:00
hidden3.d bfd/ 2008-03-16 22:26:23 +00:00
hidden3.s bfd/ 2008-03-16 22:26:23 +00:00
i386.exp PR ld/12570 2011-06-20 13:18:52 +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 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
pcrel16.s
pcrel16abs.d
pcrel16abs.s
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 Add a testcase for PR ld/12627. 2011-04-04 16:36:29 +00:00
pr12718.d Add testcases for PR ld/12718. 2011-05-01 13:38:22 +00:00
pr12718.s Add testcases for PR ld/12718. 2011-05-01 13:38:22 +00:00
protected1.d bfd/ 2008-03-16 22:26:23 +00:00
protected1.s bfd/ 2008-03-16 22:26:23 +00:00
protected2.d bfd/ 2008-03-16 22:26:23 +00:00
protected2.s bfd/ 2008-03-16 22:26:23 +00:00
protected3.d Don't hard code expected output. 2010-07-13 17:42:29 +00:00
protected3.s bfd/ 2008-03-16 22:26:23 +00:00
reloc.d 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> 2007-04-05 13:47:02 +00:00
reloc.s
tlsbin.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbin.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbin.s
tlsbin.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbin.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.s
tlsbindesc.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbinpic.s bfd/ 2007-08-23 16:13:37 +00:00
tlsdesc.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.s
tlsdesc.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlsg.s
tlsg.sd
tlsgd1.dd bfd/ 2007-08-23 16:13:37 +00:00
tlsgd1.s bfd/ 2007-08-23 16:13:37 +00:00
tlsgd2.d bfd/ 2009-06-19 16:00:33 +00:00
tlsgd2.s bfd/ 2009-06-19 16:00:33 +00:00
tlsgdesc.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsgdesc.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsgdesc.s
tlsie1.dd 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie1.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie2.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie2.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie3.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie3.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie4.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie4.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie5.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie5.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsindntpoff.dd
tlsindntpoff.s
tlsld1.dd gas/testsuite/ 2008-12-18 22:47:32 +00:00
tlsld1.s bfd/ 2007-08-14 19:48:21 +00:00
tlslib.s
tlsnopic.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsnopic.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsnopic.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsnopic1.s
tlsnopic2.s
tlspic.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic1.s
tlspic2.s
tlspie1.d 2009-08-02 H.J. Lu <hongjiu.lu@intel.com> 2009-08-02 23:55:49 +00:00
tlspie1.s 2009-08-02 H.J. Lu <hongjiu.lu@intel.com> 2009-08-02 23:55:49 +00:00
tlspie2.d Properly handle R_386_TLS_LDO_32 for PIE. 2011-04-08 16:14:49 +00:00
tlspie2.s Properly handle R_386_TLS_LDO_32 for PIE. 2011-04-08 16:14:49 +00:00
vxworks1-lib.dd * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. 2009-04-28 12:46:10 +00:00
vxworks1-lib.nd
vxworks1-lib.rd * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. 2009-04-28 12:46:10 +00:00
vxworks1-lib.s
vxworks1-lib.td ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-static.d
vxworks1.dd * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. 2009-04-28 12:46:10 +00:00
vxworks1.ld ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1.rd
vxworks1.s
vxworks2-static.sd
vxworks2.s
vxworks2.sd
warn1.d bfd/ 2007-04-05 16:16:28 +00:00
warn1.s bfd/ 2007-04-05 16:16:28 +00:00
zero.s