This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [arm] target2 relocs


On Tuesday 07 July 2009, Nathan Sidwell wrote:
> This patch fixes a bug I found with generating target2 relocs.  Unlike
> get32 and gotoff, target2 is not a partial-inplace relocation.  If we don't
> write the addend out explicitly in the assembler, we end up silently
> dropping it for REL targets.
>
> tested on arm-eabi and arm-vxworks. ok?

Ok.

I'm not entirely sure what partial-inplace means, or why TARGET2 is different 
from GOT32, but your solution looks plausible.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]