diff options
Diffstat (limited to 'libc/sysdeps/linux/arm/mmap64.S')
-rw-r--r-- | libc/sysdeps/linux/arm/mmap64.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/mmap64.S b/libc/sysdeps/linux/arm/mmap64.S index 847157b1b..ba8cb2fca 100644 --- a/libc/sysdeps/linux/arm/mmap64.S +++ b/libc/sysdeps/linux/arm/mmap64.S @@ -52,7 +52,11 @@ mmap64: DO_CALL (mmap2) cmn r0, $4096 ldmfd sp!, {r4, r5} +#if defined(__USE_BX__) + bxcc lr +#else movcc pc, lr +#endif b __syscall_error .Linval: mov r0, $-EINVAL |