binutils-gdb/ld/testsuite
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
..
config
ld-aarch64 Allow MOVK for R_AARCH64_TLSLE_MOVW_TPREL_G{0,1}NC 2015-03-04 09:09:05 +00:00
ld-alpha Properly place the NULL STT_FILE symbol revistited 2015-02-18 00:31:52 +10:30
ld-arm [ARM]Update for Tag_ABI_HardFP_use per EABI doc 2015-02-26 14:11:41 +08:00
ld-auto-import
ld-avr AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
ld-bootstrap
ld-cdtest
ld-checks
ld-cris Strip undefined symbols from .symtab 2015-02-19 13:36:34 +10:30
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
ld-elfcomm
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc Garbage collecting debug sections 2015-03-25 20:42:00 +10:30
ld-h8300
ld-i386 Add extern_protected_data and set it for x86 2015-03-05 06:34:53 -08:00
ld-ia64 Strip undefined symbols from .symtab 2015-02-19 13:36:34 +10:30
ld-ifunc
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf Strip undefined symbols from .symtab 2015-02-19 13:36:34 +10:30
ld-misc
ld-mmix Strip undefined symbols from .symtab 2015-02-19 13:36:34 +10:30
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin Add a testcase for PR ld/17973 2015-02-14 06:26:20 -08:00
ld-powerpc Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
ld-s390 Properly place the NULL STT_FILE symbol revistited 2015-02-18 00:31:52 +10:30
ld-scripts
ld-selective
ld-sh [SH] Fix clrs, sets, pref insn arch memberships. 2015-02-25 21:26:59 +01:00
ld-shared
ld-size
ld-sparc Pad only text sections at end by default 2015-02-28 22:26:56 +10:30
ld-spu
ld-srec
ld-tic6x Properly place the NULL STT_FILE symbol revistited 2015-02-18 00:31:52 +10:30
ld-tilegx Pad only text sections at end by default 2015-02-28 22:26:56 +10:30
ld-tilepro Pad only text sections at end by default 2015-02-28 22:26:56 +10:30
ld-undefined
ld-unique
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 Add extern_protected_data and set it for x86 2015-03-05 06:34:53 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib Move -rc before $aropts 2015-01-29 11:11:03 -08:00
ChangeLog Garbage collecting debug sections 2015-03-25 20:42:00 +10:30
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-9303