public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/ilp32] aarch64: Fix jmp_buf-macros.h for ILP32.
@ 2019-08-02  8:44 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2019-08-02  8:44 UTC (permalink / raw)
  To: glibc-cvs

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

commit a41071ca50837f7e3f64becd2b69a909b74a62b1
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 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


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

only message in thread, other threads:[~2019-08-02  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02  8:44 [glibc/arm/ilp32] aarch64: Fix jmp_buf-macros.h for ILP32 Szabolcs Nagy

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).