public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andreas Schwab <schwab@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/schwab/ilp32-2.32] aarch64: Fix jmp_buf-macros.h for ILP32.
Date: Wed,  5 Aug 2020 19:54:11 +0000 (GMT)	[thread overview]
Message-ID: <20200805195411.0AB9C3857C42@sourceware.org> (raw)

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


                 reply	other threads:[~2020-08-05 19:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200805195411.0AB9C3857C42@sourceware.org \
    --to=schwab@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).