This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> -----Original Message----- > From: Alan Modra [mailto:amodra@gmail.com] > Sent: Monday, December 08, 2014 8:12 PM > To: Terry Guo > Cc: binutils@sourceware.org > Subject: Re: [Patch, LD]Fix GDB crash caused by discarding the grouped > debug sections > > On Mon, Dec 08, 2014 at 02:49:44PM +0800, Terry Guo wrote: > > Thanks for comments. Then is it a proper solution if I update the > > patch to keep other sections in same group? > > Yes, I think it would be OK to keep a group containing just debug sections or > the other special sections we currently mark. > Patch is updated per your suggestion and tested with Binutils regression. No regression. Is this one OK? BR, Terry 2015-01-04 Terry Guo <terry.guo@arm.com> * bfd/elf-bfd.h (_bfd_elf_gc_mark_debug_special_section_group): Declare new function. * bfd/elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New function. (_bfd_elf_gc_mark_extra_sections): Handle section group.
Attachment:
ld-keeps-all-debug-section-v3.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |