aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/unix/sysv/linux/arm/____longjmp_chk.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/____longjmp_chk.S b/sysdeps/unix/sysv/linux/arm/____longjmp_chk.S
index 7f35b4da7e..a26315b7cf 100644
--- a/sysdeps/unix/sysv/linux/arm/____longjmp_chk.S
+++ b/sysdeps/unix/sysv/linux/arm/____longjmp_chk.S
@@ -72,8 +72,8 @@ longjmp_msg:
ldr r3, [sp, #8]; \
add r2, r2, r3; \
sub r2, r2, reg; \
- cmp r2, r3; \
- bhi .Lok2; \
+ cmp r3, r2; \
+ bls .Lok2; \
.Lfail: \
add sp, sp, #12; \
cfi_adjust_cfa_offset (-12); \