lkml.org 
[lkml]   [2010]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 06/10] ARM: ftrace: add Thumb-2 support
From
Date
On Sat, 2010-03-13 at 06:49 +0000, Rabin Vincent wrote:
> - The problem with the "mov lr, pc", is that it does not set the lsb when
> storing the pc in lr. The called function returns with "bx lr", and the
> mode changes to ARM. The blx is to avoid this.
I'm not familiar with ftrace but why does the called function returns
using "bx lr". Is this generated by the compiler? I had the impression
that if we don't enable interworking, we wouldn't get this instruction
(but haven't tried this yet).

--
Catalin



\
 
 \ /
  Last update: 2010-03-14 23:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site