From 3c758495736df25d141a4ea13c7aba24f5bb9753 Mon Sep 17 00:00:00 2001 From: Terry Guo Date: Mon, 12 Jan 2015 21:30:00 +1030 Subject: Fix GDB crash caused by discarding grouped debug sections Keep a group containing just debug sections or the other special sections we currently mark against garbage collection. * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New function. (_bfd_elf_gc_mark_extra_sections): Use it. --- bfd/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 234d559..a3e1d8f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2015-01-12 Terry Guo + + * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New + function. + (_bfd_elf_gc_mark_extra_sections): Use it. + 2015-01-11 H.J. Lu PR ld/17827 -- cgit v1.1