This is the mail archive of the
mailing list for the binutils project.
Re: strip --strip-unneeded adds back section symbols
- From: Andrei Borzenkov <arvidjaar at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org, The development of GNU GRUB <grub-devel at gnu dot org>
- Date: Mon, 1 Feb 2016 14:49:10 +0300
- Subject: Re: strip --strip-unneeded adds back section symbols
- Authentication-results: sourceware.org; auth=none
- References: <CAA91j0XasGffa+pMcjzgNTU7hUzxjwr6gGRHSxn6vhu=qG8m1g at mail dot gmail dot com> <56AF42D3 dot 9000109 at redhat dot com>
On Mon, Feb 1, 2016 at 2:34 PM, Nick Clifton <firstname.lastname@example.org> 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
> 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!