diff options
author | Terry Guo <terry.guo@arm.com> | 2015-01-12 21:30:00 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-01-12 21:34:52 +1030 |
commit | 3c758495736df25d141a4ea13c7aba24f5bb9753 (patch) | |
tree | 429a31718b33f2c53bf25dc73bebfb56805890e0 /bfd/ChangeLog | |
parent | bba33ab1e0f7d2ebd8f8435f92ed12e2a3c558a4 (diff) | |
download | gdb-3c758495736df25d141a4ea13c7aba24f5bb9753.zip gdb-3c758495736df25d141a4ea13c7aba24f5bb9753.tar.gz gdb-3c758495736df25d141a4ea13c7aba24f5bb9753.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
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 <terry.guo@arm.com> + + * 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 <hongjiu.lu@intel.com> PR ld/17827 |