This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: removing symbol from partially linked object file
On Thu, Nov 16, 2006 at 07:28:55PM +0100, Erik Leunissen wrote:
> H. J. Lu wrote:
>
> >
> >Please open a bug report at
> >
> >http://www.sourceware.org/bugzilla/
> >
> >with your testcase.
> >
>
> I'd be delighted to do that if I know I've hit a bug. However, the
> responses by Alan Modra and Andreas Schwab in this same thread do not
> indicate so.
>
> Rather, they indicate that in the case I presented, I ought not expect
> symbol X to be removable for reasons related to relocation processing
> (which I accept but do not yet understand completely).
>
> I'd hate to file a bug which turns out not to be a bug after all.
>
"ld -r" won't remove a symbol. But we should be able to do something
about the outpuf of "ld -shared".
H.J.