old-cross-binutils/ld/testsuite/ld-gc
Senthil Kumar Selvaraj d422d1c433 Garbage collecting debug sections
I noticed that _bfd_elf_gc_mark_extra_sections attempts to unmark
related debug sections when it finds an unmarked code section.
When it finds .text.foo is unmarked, for example, it removes
.debug_line.text.foo as well (using the section name as a suffix
match check.

However, it bails out after finding one such section.

bfd/
	* elflink.c (_bfd_elf_gc_mark_extra_sections): Don't break on
	first matching debug section.
ld/testsuite/
	* ld-gc/all-debug-sections.d: New file.
	* ld-gc/all-debug-sections.s: Likewise.
	* ld-gc/gc.exp: Execute new testcase.
2015-03-25 20:42:00 +10:30
..
abi-note.d
abi-note.s
all-debug-sections.d Garbage collecting debug sections 2015-03-25 20:42:00 +10:30
all-debug-sections.s Garbage collecting debug sections 2015-03-25 20:42:00 +10:30
dummy.s
gc.c
gc.exp Garbage collecting debug sections 2015-03-25 20:42:00 +10:30
libpersonality.s
noent.d
noent.s
personality.d
personality.s
pr11218-1.c
pr11218-2.c
pr11218.d
pr13683.c
pr13683.d
pr14265.c
pr14265.d Fix garbage collection of common symbols 2015-01-19 21:26:30 +10:30
pr14265.t
start.d
start.s