Re: Odd function address in function instrumentation routines on ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/01/2012 10:39 AM, Lorenz, Daniel wrote:
>  > On 03/01/2012 10:00 AM, Lorenz, Daniel wrote:
>  >> Is the function adress passed to __cyg_profile_func_enter and __cyg_profile_func_exit intenionally odd on ARM,
>  >> even when specifing -falign-function=4?
>  >
>  > Is this thumb code?
> 
> according to readelf:
> Tag_THUMB_ISA_use: Thumb-2

Right, so those function addresses are correct: Bit 0 in LR is the thumb
bit.  if you don't want it, clear it.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux