strip --strip-unneeded adds back section symbols
Andrei Borzenkov
arvidjaar@gmail.com
Mon Feb 1 11:49:00 GMT 2016
On Mon, Feb 1, 2016 at 2:34 PM, Nick Clifton <nickc@redhat.com> wrote:
> Hi Andrei,
>
>> It appears that recent binutils (earliest version I have is 2.24)
>> unconditionally add back section symbols when copying sections.
>
>
> Please could you file a bug report about this in the binutils bugzilla
> system:
>
> https://sourceware.org/bugzilla/
>
Done.
https://sourceware.org/bugzilla/show_bug.cgi?id=19547
> The side effect of adding a symbol when actually trying to strip unneeded
> symbols was unintentional, and is a bug. I have not investigated yet, but I
> suspect that the simplest solution will be to make strip rerun its symbol
> removing pass after having copied all of the sections.
>
OK, so we'll need to support symbol-less modules. Thanks!
More information about the Binutils
mailing list