[arm] target2 relocs
Paul Brook
paul@codesourcery.com
Thu Jul 16 14:24:00 GMT 2009
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
More information about the Binutils
mailing list