[PATCH 05/10] ARM: ftrace: add ENDPROC annotations

Catalin Marinas catalin.marinas at arm.com
Sat Feb 13 17:54:48 EST 2010


Rabin Vincent wrote:
> When building as Thumb-2, the ".type foo, %function" annotation in
> ENDPROC seems to be required in order for the assembly routines to be
> recognized as Thumb-2 code.  If the ENDPROC annotations are not present,
> calls to these routines are generated as BLX instead of BL.
> 
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Rabin Vincent <rabin at rab.in>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

-- 
Catalin



More information about the linux-arm-kernel mailing list