[PATCH] Fix objdump output of R_SPARC_OLO10

Tristan Gingold gingold@adacore.com
Mon Jan 24 08:44:00 GMT 2011


On Jan 22, 2011, at 6:14 AM, David Miller wrote:

> From: David Miller <davem@davemloft.net>
> Date: Fri, 21 Jan 2011 16:08:31 -0800 (PST)
> 
>> From: Hans-Peter Nilsson <hp@bitrange.com>
>> Date: Fri, 21 Jan 2011 04:19:01 -0500 (EST)
>> 
>>> On Fri, 21 Jan 2011, Alan Modra wrote:
>>>> On Thu, Jan 20, 2011 at 11:50:11PM -0800, David Miller wrote:
>>>>> 466 lines of code deleted from the tree as a result.
>>>> 
>>>> And a 20% blowout in reloc size.  I can't say I like that.  Well, to
>>>> be fair, this really only matters in the linker and not all backend
>>>> linkers use arelent to handle relocs.  Still, many do, even some ELF
>>>> linkers.
>>> 
>>> Solvable by selecting it with a want_arelent2 like the want64 in
>>> config.bfd for 64-bit bfd_vma?
>> 
>> That is one possible way to handle this.
> 
> Ok, I just tossed the following together, have a look.

Are we sure that addend2 is always initialized to 0 on all targets ?

Tristan.



More information about the Binutils mailing list