public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/schwab/ilp32-2.33] aarch64: Fix jmp_buf-macros.h for ILP32.
@ 2021-03-07 14:44 Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2021-03-07 14:44 UTC (permalink / raw)
  To: glibc-cvs

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

commit 281f27142a99149257e04f2a5b3b10b12d98c212
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] 2+ messages in thread

* [glibc/schwab/ilp32-2.33] aarch64: Fix jmp_buf-macros.h for ILP32.
@ 2021-02-21 23:34 Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2021-02-21 23:34 UTC (permalink / raw)
  To: glibc-cvs

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

commit 17f9f24e3adc92e6976e3dca62198480f55b2cc5
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] 2+ messages in thread

end of thread, other threads:[~2021-03-07 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 14:44 [glibc/schwab/ilp32-2.33] aarch64: Fix jmp_buf-macros.h for ILP32 Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2021-02-21 23:34 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).