This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld -r behavior
>>> Alan Modra <amodra@bigpond.net.au> 14.09.07 03:21 >>>
>On Thu, Sep 13, 2007 at 04:23:57PM +0100, Jan Beulich wrote:
>> Is there a way to make ld resolve relocations referencing local absolute symbols
>> when doing a relocatable link?
>
>Not without writing a lot of code for every backend.
That is what I was afraid of. And it is my understanding that no other of the
utility programs in binutils can do this either, meaning that past the assembler
stage there's nothing one can do to eliminate these pointless relocations.
Thanks, Jan