public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/schwab/ilp32-2.32] aarch64: Fix jmp_buf-macros.h for ILP32.
@ 2020-08-05 19:54 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2020-08-05 19:54 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1568fd439ce52b483eab93320eb31b5d9b701ed

commit a1568fd439ce52b483eab93320eb31b5d9b701ed
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Fri Nov 10 18:59:31 2017 +0000

    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.

Diff:
---
 sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h
index 608a7ad1f7..d0ced8761c 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-05 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 19:54 [glibc/schwab/ilp32-2.32] aarch64: Fix jmp_buf-macros.h for ILP32 Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).