old-cross-binutils/ld/testsuite/ld-gc
Alan Modra c4621b339e Fix garbage collection of common symbols
Running lang_common before garbage collection means slightly less work
in garbage collection code, since common symbols should no longer
appear there.  It does have the side effect of keeping linker script
symbols (at least those defined outside of sections) global too,
hence some testsuite churn.

bfd/
	PR 17165
	* elf-bfd.h (ELF_COMMON_DEF): Note that this might be true for
	linker script assignments too.
	* elflink.c (elf_gc_sweep_symbol): Don't drop ELF_COMMON_DEF syms.
	(bfd_elf_gc_mark_dynamic_ref_symbol): Similarly.
ld/
	PR 17165
	* ldlang.c (lang_process): Run lang_common before lang_gc_sections.
ld/testsuite/
	* ld-gc/pr14265.d,
	* ld-cris/tls-gc-68.d,
	* ld-cris/tls-gc-69.d,
	* ld-cris/tls-gc-70.d,
	* ld-cris/tls-gc-71.d,
	* ld-cris/tls-gc-75.d,
	* ld-cris/tls-gc-76.d,
	* ld-cris/tls-gc-79.d,
	* ld-mmix/bpo-10.d,
	* ld-mmix/bpo-11.d: Update.
2015-01-19 21:26:30 +10:30
..
abi-note.d
abi-note.s
dummy.s
gc.c
gc.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
libpersonality.s
noent.d
noent.s
personality.d * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
personality.s
pr11218-1.c
pr11218-2.c
pr11218.d
pr13683.c
pr13683.d * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
pr14265.c PR ld/14265 2012-08-14 08:31:57 +00:00
pr14265.d Fix garbage collection of common symbols 2015-01-19 21:26:30 +10:30
pr14265.t PR ld/14265 2012-08-14 08:31:57 +00:00
start.d * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
start.s