aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h
index 608a7ad..d0ced87 100644
--- a/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h
+++ b/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h
@@ -3,4 +3,8 @@
#define JMP_BUF_ALIGN 8
#define SIGJMP_BUF_ALIGN 8
#define MASK_WAS_SAVED_OFFSET 176
-#define SAVED_MASK_OFFSET 184
+#ifdef __ILP32__
+# define SAVED_MASK_OFFSET 180
+#else
+# define SAVED_MASK_OFFSET 184
+#endif