RFC [PATCH] Use .strtab section for section name strings
Ed Maste
emaste@freebsd.org
Wed Jul 1 03:21:00 GMT 2015
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).
More information about the Binutils
mailing list