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: [patch] Arm local fuction symbols


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.


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