This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Odd function address in function instrumentation routines on ARM
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.