ld -r behavior

Jan Beulich jbeulich@novell.com
Fri Sep 14 07:56:00 GMT 2007


>>> 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



More information about the Binutils mailing list