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 Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
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 PR ld/13177 2011-10-19 07:17:21 +00:00
noent.d
noent.s
personality.d * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
personality.s PR ld/13177 2011-10-19 07:17:21 +00:00
pr11218-1.c
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
pr13683.c PR ld/13683 2012-02-22 16:27:35 +00:00
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 * ld-elf/elf.exp: Force 32-bit start address for alpha. 2011-03-30 17:41:36 +00:00