binutils-gdb/ld/testsuite/ld-mmix
Alan Modra 74541ad4c0 bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
	text_index_section and data_index_section.
	(struct elf_backend_data): Add elf_backend_init_index_section.
	(_bfd_elf_init_1_index_section): Declare.
	(_bfd_elf_init_2_index_sections): Declare.
	* elfxx-target.h (elf_backend_init_index_section): Define.
	(elfNN_bed): Init new field.
	* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
	section and text_index_section plus data_index_section.
	(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
	(_bfd_elf_init_1_index_section): New function.
	(_bfd_elf_init_2_index_sections): New function.
	(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
	(elf_link_input_bfd): When emitting relocs, use text_index_section
	and data_index_section for removed sections.
	* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
	* elf32-i386.c: Likewise.
	* elf32-m32r.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-xstormy16.c: Likewise.
	* elf32-xtensa.c: Likewise.
	* elf64-alpha.c: Likewise.
	* elf64-hppa.c: Likewise.
	* elf64-mmix.c: Likewise.
	* elf64-sh64.c: Likewise.
	* elfxx-ia64.c: Likewise.
	* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
	and data_index_section sym for relocs against sections with no dynamic
	section sym.
	(elf_backend_init_index_section): Define.
	* elf32-cris.c: Similarly.
	* elf32-hppa.c: Similarly.
	* elf32-i370.c: Similarly.
	* elf32-m68k.c: Similarly.
	* elf32-mips.c: Similarly.
	* elf32-ppc.c: Similarly.
	* elf32-s390.c: Similarly.
	* elf32-sparc.c: Similarly.
	* elf32-vax.c: Similarly.
	* elf64-mips.c: Similarly.
	* elf64-ppc.c: Similarly.
	* elf64-s390.c: Similarly.
	* elf64-sparc.c: Similarly.
	* elf64-x86-64.c: Similarly.
	* elfn32-mips.c: Similarly.
	* elfxx-mips.c: Similarly.
	* elfxx-sparc.c: Similarly.
	* linker.c (fix_syms): Base symbols in removed sections on
	previous section in preference to using absolute section.

ld/
	* ldlang.c (strip_excluded_output_sections): Do strip sections
	that define syms, but don't ignore them.
	* ld.texinfo (Output Section Discarding): Revise.
	* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
	finish_default.

ld/testsuite/
	Update for section sym changes.
2006-10-17 13:41:49 +00:00
..
a.s
areg-256.s
areg-t.s
aregm.s
b-badfil1.d
b-badfil1.s
b-badfil2.d
b-badfil2.s
b-badfixo.d
b-badfixo.s
b-badloc.d
b-badloc.s
b-badlop.d
b-badlop.s
b-badm.d
b-badm2.s
b-badmain.s
b-badquot.d
b-badquot.s
b-badrx1.d
b-badrx1.s
b-badrx2.d
b-badrx2.s
b-badrx3.d
b-badrx3.s
b-bend.s
b-bend1.d
b-bend2.d
b-bend3.d
b-bstab1.d
b-bstab1.s
b-fixo2.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
b-fixo2.s
b-goodmain.s
b-loc64k.d
b-loc64k.s
b-nosym.d * ld-mmix/bpo-10.d: Tweak for change in symbols handling. 2002-08-31 17:23:58 +00:00
b-nosym.s
b-offloc.s * ld-mmix/sec-8m.d: Adjust test for dump using correct section 2004-10-24 21:39:30 +00:00
b-post1.s
b-twoinsn.s
b-widec.s
b-widec1.d
b-widec2.d
b-widec2.s
b-widec3.d
b-widec3.s
bpo-1.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-1.s
bpo-1m.d
bpo-2.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-2.s
bpo-2m.d
bpo-3.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-3.s
bpo-3m.d
bpo-4.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-4.s
bpo-4m.d
bpo-5.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-5.s
bpo-5m.d
bpo-6.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-6.s
bpo-6m.d
bpo-7.d
bpo-7.s
bpo-7m.d
bpo-8.d
bpo-8.s
bpo-8m.d
bpo-9.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-9.s
bpo-9m.d
bpo-10.d bfd/ 2006-10-17 13:41:49 +00:00
bpo-10.s
bpo-11.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-11.s * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New 2002-02-09 05:02:07 +00:00
bpo-12.d
bpo-12m.d
bpo-13.d
bpo-13m.d
bpo-14.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-14m.d
bpo-15.d
bpo-15m.d
bpo-16.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-16m.d
bpo-17.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-17m.d
bpo-18.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-18m.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
bpo-19.d bfd/ 2006-06-02 00:32:00 +00:00
bpo-19m.d
bpo-20.d
bpo-20m.d
bpo-21.d * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New 2002-02-09 05:02:07 +00:00
bpo-21m.d * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New 2002-02-09 05:02:07 +00:00
bpo-22.d bfd/ 2006-06-02 00:32:00 +00:00
bpo64addr.ld
bspec1.d bfd/ 2006-06-02 00:32:00 +00:00
bspec1.s
bspec1m.d
bspec2.d bfd/ 2006-06-02 00:32:00 +00:00
bspec2.s
bspec2m.d
bspec801.s
bspec802.s
bspec803.s
bspec804.s
bspec805.s
bspec806.s
bspec807.s
bspec808.s
bza-1b.d
bza-1f.d
bza-2b.d
bza-2f.d
bza-7b.d
bza-7f.d
bza-8b.d
bza-8f.d
bza.s
data1.s
dloc1.s
dloc2.s
ext1-254.s
ext1.s
ext1g.s
ext1l.s
getaa-1b.d
getaa-1f.d
getaa-2b.d
getaa-2f.d
getaa-4b.d
getaa-4f.d
getaa-6b.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
getaa-6f.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
getaa-7b.d
getaa-7f.d
getaa-8b.d
getaa-8f.d
getaa.s
getaa12b.d
getaa12f.d
getaa14b.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
getaa14f.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
greg-1.d bfd/ 2006-06-02 00:32:00 +00:00
greg-1.s
greg-2.d bfd/ 2006-06-02 00:32:00 +00:00
greg-2.s
greg-3.d bfd/ 2006-06-02 00:32:00 +00:00
greg-3.s
greg-4.d bfd/ 2006-06-02 00:32:00 +00:00
greg-4.s
greg-5.d bfd/ 2006-06-02 00:32:00 +00:00
greg-5.s
greg-5s.d bfd/ 2006-06-02 00:32:00 +00:00
greg-6.d bfd/ 2006-06-02 00:32:00 +00:00
greg-7.d bfd/ 2006-06-02 00:32:00 +00:00
greg-8.d
greg-9.d
greg-10.d
greg-11.d
greg-11b.d
greg-12.d
greg-13.d
greg-14.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
greg-14s.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
greg-15.d
greg-16.d
greg-17.d
greg-18.d
greg-19.d bfd/ 2006-06-02 00:32:00 +00:00
greg-20.d
gregbza1.s
gregget1.s
gregget2.s
gregldo1.s
gregpsj1.s
hdr-1.d
jumpa-1b.d
jumpa-1f.d
jumpa-2b.d
jumpa-2f.d
jumpa-3b.d
jumpa-3f.d
jumpa-4b.d
jumpa-4f.d
jumpa-5b.d
jumpa-5f.d
jumpa-6b.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
jumpa-6f.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
jumpa-7b.d
jumpa-7f.d
jumpa-8b.d
jumpa-8f.d
jumpa-9b.d
jumpa-9f.d
jumpa.s
jumpa12b.d
jumpa12f.d
jumpa13b.d
jumpa13f.d
jumpa14b.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
jumpa14f.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
loc1.d bfd/ 2006-06-02 00:32:00 +00:00
loc1.s
loc1m.d
loc2.d bfd/ 2006-06-02 00:32:00 +00:00
loc2.s
loc2m.d
loc3.d bfd/ 2006-06-02 00:32:00 +00:00
loc3m.d
loc4.d bfd/ 2006-06-02 00:32:00 +00:00
loc4m.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
loc5.d
loc5m.d
loc6.d bfd/ 2006-06-02 00:32:00 +00:00
loc6m.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
loc7.d
loc7m.d
local1.d bfd/ 2006-06-02 00:32:00 +00:00
local1.s
local1m.d
local2.d
local2.s
local2m.d
local3.d bfd/ 2006-06-02 00:32:00 +00:00
local3m.d
local4.d
local4m.d
local5.d bfd/ 2006-06-02 00:32:00 +00:00
local5m.d
local6.d
local6m.d
local7.d bfd/ 2006-06-02 00:32:00 +00:00
local7m.d
local8.d
local8m.d
local9.d
local9m.d
local10.d
local10m.d
local11.d
local11m.d
local12.d 2005-03-20 H.J. Lu <hongjiu.lu@intel.com> 2005-03-20 17:00:14 +00:00
local12m.d
locdo-1.d bfd/ 2006-06-02 00:32:00 +00:00
locdo.s
loct-1.d bfd/ 2006-06-02 00:32:00 +00:00
loct.s
locto-1.d bfd/ 2006-06-02 00:32:00 +00:00
locto.s
main1.s
mmix.exp Update FSF addresses 2005-05-12 07:32:09 +00:00
mmohdr1.ld
mmosec1.ld
mmosec2.ld
nop123.s
pad2p18m32.s
pad2p26m32.s
pad4.s
pad16.s
pushja.s
pushja1b-s.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja1b.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja1f-s.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja1f.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja2b.d
pushja2f.d
pushja7b-s.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja7b.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja7f-s.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja7f.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushja8b.d
pushja8f.d
pushjs1.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs1b.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs1bm.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs1m.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs1r.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs2.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs2b.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs2bm.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs2m.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs2r.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs3.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs3b.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs3bm.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs3m.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs3r.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs4.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs4b.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs4bm.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs4m.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
pushjs4r.d * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, 2003-10-18 16:05:02 +00:00
reg-1.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
reg-1m.d * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, 2004-10-24 00:13:15 +00:00
reg-2.d
reg-2m.d
regext1.s
sec-1.d * ld-mmix/sec-1.d: Adjust for section order changes. 2006-01-03 07:03:26 +00:00
sec-1.s
sec-2.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
sec-2.s
sec-3.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
sec-4.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
sec-5.d * ld-mmix/sec-8m.d: Adjust test for dump using correct section 2004-10-24 21:39:30 +00:00
sec-6.d * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol 2002-02-17 21:22:24 +00:00
sec-6.s
sec-6m.d
sec-7a.s * ld-mmix/bpo-10.d: Tweak for change in symbols handling. 2002-08-31 17:23:58 +00:00
sec-7b.s * ld-mmix/bpo-10.d: Tweak for change in symbols handling. 2002-08-31 17:23:58 +00:00
sec-7c.s * ld-mmix/bpo-10.d: Tweak for change in symbols handling. 2002-08-31 17:23:58 +00:00
sec-7d.s * ld-mmix/bpo-10.d: Tweak for change in symbols handling. 2002-08-31 17:23:58 +00:00
sec-7e.s * ld-mmix/bpo-10.d: Tweak for change in symbols handling. 2002-08-31 17:23:58 +00:00
sec-7m.d * ld-cris/pv32.s: Give expobj a size. 2005-07-08 06:22:04 +00:00
sec-8a.s * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, 2002-06-29 21:33:28 +00:00
sec-8b.s * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, 2002-06-29 21:33:28 +00:00
sec-8d.s * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, 2002-06-29 21:33:28 +00:00
sec-8m.d * ld-mmix/sec-8m.d: Adjust test for dump using correct section 2004-10-24 21:39:30 +00:00
sec-8m.s * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, 2002-06-29 21:33:28 +00:00
sec-9.d * ld-mmix/sec-8m.d: Adjust test for dump using correct section 2004-10-24 21:39:30 +00:00
spec801.d
spec802.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
spec803.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
spec804.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
spec805.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
spec806.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
spec807.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
spec808.d * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, 2003-05-12 05:45:38 +00:00
start-1.d bfd/ 2006-06-02 00:32:00 +00:00
start-2.d
start.s
start2.s
start3.s
start4.s
sym-1.d
sym-2.d
sym-2.s
undef-1.d
undef-1.s
undef-1m.d
undef-2.d
undef-2.s
undef-2m.d
undef-3.d bfd/ 2006-06-02 00:32:00 +00:00
undef-3m.d
x.s
y.s
zeroeh.ld
zeroehelf.d
zeroehmmo.d