[PATCH v3] strip: keep .ctf section in stripped file
Nick Clifton
nickc@redhat.com
Tue Feb 28 12:45:30 GMT 2023
Hi Mark,
>> Oh, I see, thanks for your comment!. My intention with this patch is to
>> replicate the same proceeding by _default_ implemented in `binutils strip'
>> tool, it is: not remove CTF section, except it is indicated explicitly.
>
> O, this surprises me. I wasn't aware binutils strip keeps unallocated
> sections by default. But apparently it does. It doesn't seem specific
> to ".ctf". Do you know why? This seems counter to how strip is supposed
> to behave, at least how I understand it.
I do not know why and I agree that it looks like a bug. Hmm, do you have
a specific example in mind ?
Cheers
Nick
More information about the Elfutils-devel
mailing list