removing symbol from partially linked object file

H. J. Lu hjl@lucon.org
Thu Nov 16 19:28:00 GMT 2006
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.



More information about the Binutils mailing list