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]

Re: RFC [PATCH] Use .strtab section for section name strings


On 30 June 2015 at 21:14, H.J. Lu <hjl.tools@gmail.com> wrote:
>>
>> You may be correct, but how will this play with utilities that modify
>> binaries, eg. objcopy/strip?  Particularly if someone uses an older
>> objcopy/strip with one of these newfangled binaries.  I guess
>> objcopy/strip might just happen to work due to BFD hiding away details
>> like .strtab and .shstrtab, but I'm not sure.  elfutils ought to be
>> checked too.
>
> I consider it is a bug if an ELF tool can't handle it:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1236699

And the same issue in ELF Tool Chain elfcopy/strip:
https://sourceforge.net/p/elftoolchain/tickets/497/

This now has a quick fix which handles these objects (but recreates
separate tables on output).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]