diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2017-11-10 18:59:31 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2021-03-07 15:42:44 +0100 |
commit | 281f27142a99149257e04f2a5b3b10b12d98c212 (patch) | |
tree | ff2e9eba7e702b11717c2864fe9373f730af5184 | |
parent | 11b2876d27b7a65103ef42aabb9d174966e34883 (diff) | |
download | glibc-281f27142a99149257e04f2a5b3b10b12d98c212.zip glibc-281f27142a99149257e04f2a5b3b10b12d98c212.tar.gz glibc-281f27142a99149257e04f2a5b3b10b12d98c212.tar.bz2 |
aarch64: Fix jmp_buf-macros.h for ILP32.
The offset is different on ILP32 because __saved_mask is 4 byte aligned.
2017-11-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h (SAVED_MASK_OFFSET):
Fix for ILP32.
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h | 6 |
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 |