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: add pthread-offset.h for ILP32 Date: Wed, 5 Aug 2020 19:54:51 +0000 (GMT) [thread overview] Message-ID: <20200805195451.AD9453857C42@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b872027f41812a3e0474654fe4f589df9c50394 commit 8b872027f41812a3e0474654fe4f589df9c50394 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
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=20200805195451.AD9453857C42@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: linkBe 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).