arch/arm-all: Fix NewStackSwap under gcc 4.6.x
commitedb602fe21295c28fd9246656dc06c142c4045d9
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 17 Aug 2012 16:50:21 +0000 (17 16:50 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 17 Aug 2012 16:50:21 +0000 (17 16:50 +0000)
tree153a7e130dab0924ad79be5636054c62a4b4d622
parent82b23bfa6ae643f7e179f2d1868a6d9db40af47a
arch/arm-all: Fix NewStackSwap under gcc 4.6.x

Under certain optimizations, the gcc constraints for the assembly
section of Exec/NewStackSwap would use '%lr' as the register
replacement for 'entry', causing NewStackSwap to return early
instead of calling the desired entry point.

'%lr' has been added to the asm () clobber list, and the code
is correctly generated now.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45589 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/arm-all/exec/newstackswap.c