diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-18 22:41:46 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-22 20:00:24 +0200 |
commit | e71fc570caec4f2d4bbe729dfe9eb41bfe5a732a (patch) | |
tree | 3e9036c730288367ef489989e05b4452ca1116c8 /libc/sysdeps/linux/arm/clone.S | |
parent | 298f58e073b2782bd264edea969769b7b5e7cf41 (diff) |
arm: Add BX and BXC macros
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/arm/clone.S')
-rw-r--r-- | libc/sysdeps/linux/arm/clone.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/arm/clone.S b/libc/sysdeps/linux/arm/clone.S index 03cd10e62..63eca31c1 100644 --- a/libc/sysdeps/linux/arm/clone.S +++ b/libc/sysdeps/linux/arm/clone.S @@ -115,11 +115,7 @@ __clone: ldmnefd sp!, {r4} blt __error IT(t, ne) -#if defined(__USE_BX__) - bxne lr -#else - movne pc, lr -#endif + BXC(ne, lr) @ pick the function arg and call address off the stack and execute ldr r0, [sp, #4] |