old-cross-binutils/ld/testsuite/ld-gc
Alan Modra 1d5316ab67 PR ld/13177
bfd/
	* elflink.c (_bfd_elf_gc_mark_rsec): Set symbol "mark".
	(elf_gc_sweep_symbol): Don't test plt/got refcounts, instead test
	"mark".  Hide undefweak too.  Clear def_regular and ref_regular.
	* elf-m10300.c (mn10300_elf_relocate_section): Ignore unresolved
	reloc errors from garbage-collected code.
	* elf32-arm.c (elf32_arm_relocate_section): Likewise.
	* elf32-bfin.c (bfin_relocate_section): Likewise.
	(bfinfdpic_relocate_section): Likewise.
	* elf32-cris.c (cris_elf_relocate_section): Likewise.
	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
	* elf32-i386.c (elf_i386_relocate_section): Likewise.
	* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
	* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
	* elf32-s390.c (elf_s390_relocate_section): Likewise.
	* elf32-sh.c (sh_elf_relocate_section): Likewise.
	* elf32-spu.c (spu_elf_relocate_section): Likewise.
	* elf32-tilepro.c (tilepro_elf_relocate_section): Likewise.
	* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
	* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
	* elf64-s390.c (elf_s390_relocate_section): Likewise.
	* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
	* elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise.
ld/testsuite/
	* ld-elf/elf.exp: Move test for shared lib support..
	* lib/ld-lib.exp (check_shared_lib_support): ..to here. Add m68hc1*,
	and s/ms1/mt/.
	(check_gc_sections_available): Match hppa*64 not hppa64.  Comment.
	* ld-gc/libpersonality.s: New.
	* ld-gc/personality.s, * ld-gc/personality.d: New.
	* ld-gc/gc.exp: Run personality test.
2011-10-19 07:17:21 +00:00
..
abi-note.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
abi-note.s Always keep SHT_NOTE sections 2010-01-07 13:44:37 +00:00
dummy.s Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
gc.c * ld-gc/gc.c (dummy_func): New function - present so that 2008-10-29 08:29:02 +00:00
gc.exp PR ld/13177 2011-10-19 07:17:21 +00:00
libpersonality.s PR ld/13177 2011-10-19 07:17:21 +00:00
noent.d ld: 2008-01-11 09:11:18 +00:00
noent.s ld: 2008-01-11 09:11:18 +00:00
personality.d PR ld/13177 2011-10-19 07:17:21 +00:00
personality.s PR ld/13177 2011-10-19 07:17:21 +00:00
pr11218-1.c Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
pr11218-2.c * ld/testsuite/ld-gc/pr11218-2.c: Declare 2010-11-16 23:41:38 +00:00
pr11218.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
start.d * ld-gc/start.d: Exclude frv-*-linux*. 2011-02-10 07:24:06 +00:00
start.s * ld-elf/elf.exp: Force 32-bit start address for alpha. 2011-03-30 17:41:36 +00:00