This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed arm/ilp32] aarch64: Fix jmp_buf-macros.h for ILP32


rebased the arm/ilp32 branch, it needed this patch.
>From e79bccb0762f71c1c3f460ce7dd750bf0fb34741 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri, 10 Nov 2017 18:59:31 +0000
Subject: [PATCH 8/8] aarch64: Fix jmp_buf-macros.h for ILP32.

The offset is different on ILP32 because __saved_mask is 4 byte aligned.

2017-11-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h (SAVED_MASK_OFFSET):
	Fix for ILP32.
---
 sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h
index 608a7ad1f7..adda020e2c 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
+#ifdef __ILP32__
+#define SAVED_MASK_OFFSET 180
+#else
 #define SAVED_MASK_OFFSET 184
+#endif
-- 
2.11.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]