old-cross-binutils/ld/testsuite/ld-cris
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
..
badgotr1.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
comref1.s * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, 2002-07-12 15:51:54 +00:00
cris.exp Update FSF addresses 2005-05-12 07:32:09 +00:00
def2.d * ld-cris/stabs1.s: New file. 2005-02-07 03:00:55 +00:00
def3.d * ld-cris/stabs1.s: New file. 2005-02-07 03:00:55 +00:00
dso-1.s * ld-cris/dso-1.s: Add missing alignment directive. 2005-08-16 15:13:29 +00:00
dso-2.s * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test. 2002-04-05 23:13:09 +00:00
dso-3.s * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s, 2002-07-09 03:46:49 +00:00
dsofnf.s * ld-cris/dsofnf.s, ld-cris/dsofnf2.s, ld-cris/gotplt1.d, 2004-03-22 04:06:06 +00:00
dsofnf2.s * ld-cris/dsofnf.s, ld-cris/dsofnf2.s, ld-cris/gotplt1.d, 2004-03-22 04:06:06 +00:00
dsov32-1.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
dsov32-2.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
dsov32-3.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
dsov32-4.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
euwref1.s * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, 2002-07-12 15:51:54 +00:00
expdref1.s * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, 2002-07-12 15:51:54 +00:00
expdyn1.d * ld-cris/expdyn1.s (expobj): Set size here, at definition... 2005-08-12 00:23:48 +00:00
expdyn1.s * ld-cris/expdyn1.s (expobj): Set size here, at definition... 2005-08-12 00:23:48 +00:00
expdyn2.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
expdyn3.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
expdyn4.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
expdyn5.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
expdyn6.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
expdyn7.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
globsym1ref.s * ld-cris/stabs1.s: New file. 2005-02-07 03:00:55 +00:00
globsymw1.s * ld-cris/stabs1.s: New file. 2005-02-07 03:00:55 +00:00
globsymw2.s * ld-cris/globsymw2.s: New file. 2005-02-07 03:16:43 +00:00
gotplt1.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
gotplt2.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
gotplt3.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
gotrel1.s
gotrel2.s
hiddef1.d bfd/ 2006-06-02 00:32:00 +00:00
hiddef1.s * ld-cris/hiddef1.d, ld-cris/hiddef1.d, ld-cris/hidrefgotplt1.s: 2004-09-07 18:32:27 +00:00
hide1 * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test. 2002-04-05 23:13:09 +00:00
hidrefgotplt1.s * ld-cris/hiddef1.d, ld-cris/hiddef1.d, ld-cris/hidrefgotplt1.s: 2004-09-07 18:32:27 +00:00
ldsym1.d bfd/ 2006-10-17 13:41:49 +00:00
libdso-1.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
libdso-2.d * ld-cris/libdso-2.d: Adjust for recent hash-related changes. 2006-07-11 21:47:41 +00:00
libdso-3.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
libdso-4.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
libdso-10.d * ld-cris/dso-1.s: Add missing alignment directive. 2005-08-16 15:13:29 +00:00
libdso-11.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
libdso-12.d bfd/ 2006-10-17 13:41:49 +00:00
libdso-13.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
libdso-14.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
locref1.d bfd/ 2005-08-17 10:04:33 +00:00
locref1.s * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d, 2003-06-18 04:11:13 +00:00
locref2.d bfd/ 2005-08-17 10:04:33 +00:00
locref2.s * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d, 2003-06-18 04:11:13 +00:00
move-1.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
nodyn4.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
nodyn5.d 2005-03-23 H.J. Lu <hongjiu.lu@intel.com> 2005-03-23 19:04:33 +00:00
noglob1.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
noglob1.s * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s, 2002-07-09 03:46:49 +00:00
noov.d * ld-cris/noov.d: Restrict to cris-*-*elf*. 2005-11-11 00:29:14 +00:00
noov.s PR ld/1567 2005-10-28 00:24:09 +00:00
pv32-1.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
pv32.s * ld-cris/expdyn1.s (expobj): Set size here, at definition... 2005-08-12 00:23:48 +00:00
stabs1.s * ld-cris/stabs1.s: New file. 2005-02-07 02:53:32 +00:00
start1.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
undef1.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
undef2.d * ld-cris/stabs1.s: New file. 2005-02-07 02:53:32 +00:00
undef3.d * ld-cris/stabs1.s: New file. 2005-02-07 02:53:32 +00:00
v10-v32.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
v10-va.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
v32-ba-1.d bfd/ 2006-10-17 13:41:49 +00:00
v32-ba-1.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
v32-bin-1.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
v32-bin-1.s * ld-elf/merge.d: xfail crisv32-*-*. 2004-11-04 15:04:05 +00:00
v32-v10.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
v32-va.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
va-v10.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
va-v32.d * ld-cris: Skip tests unsuitable for testing target 2005-09-01 01:47:25 +00:00
warn1.d * ld-cris/stabs1.s: New file. 2005-02-07 03:00:55 +00:00
warn2.d * ld-cris/stabs1.s: New file. 2005-02-07 03:00:55 +00:00
warn3.d Revert previous delta 2005-03-01 17:11:57 +00:00
warn4.d Revert previous delta 2005-03-01 17:11:57 +00:00
weakref1.d Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
weakref2.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00