public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/schwab/ilp32-2.33] aarch64: add pthread-offset.h for ILP32
@ 2021-02-21 23:35 Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2021-02-21 23:35 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b316576f2eb12b0deca72f9b6613d22c469dddaf
commit b316576f2eb12b0deca72f9b6613d22c469dddaf
Author: Andreas Schwab <schwab@suse.de>
Date: Wed Feb 5 17:29:03 2020 +0100
aarch64: add pthread-offset.h for ILP32
Diff:
---
sysdeps/aarch64/nptl/pthread-offsets.h | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/sysdeps/aarch64/nptl/pthread-offsets.h b/sysdeps/aarch64/nptl/pthread-offsets.h
index 31f0587bec..280d5d5ad2 100644
--- a/sysdeps/aarch64/nptl/pthread-offsets.h
+++ b/sysdeps/aarch64/nptl/pthread-offsets.h
@@ -1,3 +1,11 @@
-#define __PTHREAD_MUTEX_KIND_OFFSET 16
+#ifdef __ILP32__
+# define __PTHREAD_MUTEX_KIND_OFFSET 12
+#else
+# define __PTHREAD_MUTEX_KIND_OFFSET 16
+#endif
-#define __PTHREAD_RWLOCK_FLAGS_OFFSET 48
+#ifdef __ILP32__
+# define __PTHREAD_RWLOCK_FLAGS_OFFSET 40
+#else
+# define __PTHREAD_RWLOCK_FLAGS_OFFSET 48
+#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* [glibc/schwab/ilp32-2.33] aarch64: add pthread-offset.h for ILP32
@ 2021-03-07 14:45 Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2021-03-07 14:45 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=55c48a2996679d37fd0aec263547a02fb025bf21
commit 55c48a2996679d37fd0aec263547a02fb025bf21
Author: Andreas Schwab <schwab@suse.de>
Date: Wed Feb 5 17:29:03 2020 +0100
aarch64: add pthread-offset.h for ILP32
Diff:
---
sysdeps/aarch64/nptl/pthread-offsets.h | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/sysdeps/aarch64/nptl/pthread-offsets.h b/sysdeps/aarch64/nptl/pthread-offsets.h
index 31f0587bec..280d5d5ad2 100644
--- a/sysdeps/aarch64/nptl/pthread-offsets.h
+++ b/sysdeps/aarch64/nptl/pthread-offsets.h
@@ -1,3 +1,11 @@
-#define __PTHREAD_MUTEX_KIND_OFFSET 16
+#ifdef __ILP32__
+# define __PTHREAD_MUTEX_KIND_OFFSET 12
+#else
+# define __PTHREAD_MUTEX_KIND_OFFSET 16
+#endif
-#define __PTHREAD_RWLOCK_FLAGS_OFFSET 48
+#ifdef __ILP32__
+# define __PTHREAD_RWLOCK_FLAGS_OFFSET 40
+#else
+# define __PTHREAD_RWLOCK_FLAGS_OFFSET 48
+#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-07 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21 23:35 [glibc/schwab/ilp32-2.33] aarch64: add pthread-offset.h for ILP32 Andreas Schwab
2021-03-07 14:45 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).