RFC: Objcopy --only-keep-debug update
H.J. Lu
hjl.tools@gmail.com
Fri Aug 7 15:56:00 GMT 2015
More information about the Binutils mailing list
Fri Aug 7 15:56:00 GMT 2015
- Previous message (by thread): RFC: Objcopy --only-keep-debug update
- Next message (by thread): RFC: Objcopy --only-keep-debug update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Aug 4, 2015 at 3:48 AM, Nick Clifton <nickc@redhat.com> wrote: > Hi Guys, > > Thanks for the comments on the previous patch. I am attaching a third > iteration of this patch, which I hope will satisfy everyone. In this > version I have followed Alan's suggestion of detecting the change in > the _bfd_elf_copy_private_bfd_data function, and I have fixed the text > in binutils.texi describing how --only-keep-debug operates. > > Any more comments or suggestions ? > > Cheers > Nick > > bfd/ChangeLog > 2015-08-04 Nick Clifton <nickc@redhat.com> > > * elf.c (_bfd_elf_copy_private_bfd_data): Copy the sh_link and > sh_info fields of sections whose type has been changed to > SHT_NOBITS. > > binutils/ChangeLog > 2015-08-04 Nick Clifton <nickc@redhat.com> > > * doc/binutils.texi: Document that the --only-keep-debug option > to strip and objcopy preserves the section headers of stripped > sections. > > binutils/testsuite/ChangeLog > 2015-08-04 Nick Clifton <nickc@redhat.com> > > * binutils-all/objcopy.exp (keep_debug_symbols_and_check_links): > New proc. Checks that debug-info-only binaries retain the > sh_link field in stripped sections. > This breaks binutils: https://sourceware.org/bugzilla/show_bug.cgi?id=18785 -- H.J.
- Previous message (by thread): RFC: Objcopy --only-keep-debug update
- Next message (by thread): RFC: Objcopy --only-keep-debug update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list