[patch] Arm local fuction symbols
Richard Earnshaw
rearnsha@arm.com
Thu May 11 17:11:00 GMT 2006
On Tue, 2006-05-09 at 17:09, Paul Brook wrote:
> [I originally sent this patch a while ago, but messed up the To: address, so
> it may have been missed]
>
> The Arm EABI says that relocations against local symbols may only be
> substituted for a different symbol if neither of the symbols has type
> STT_FUNC, both are Arm functions or both are Thumb functions.
>
> This means relocations against function symbols must not be converted into
> relocations against section symbols.
>
> The patch below tweaks arm_fix_adjustable to achieve this.
>
> Tested with cross to arm-none-eabi.
> Ok?
>
> Paul
>
> 2005-04-01 Paul Brook <paul@codesourcery.com>
>
> * config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
OK.
R.
More information about the Binutils
mailing list