diff options
author | 2022-08-30 10:35:04 -0300 | |
---|---|---|
committer | 2022-09-03 22:29:07 +0200 | |
commit | feac2ef90c4e94d5190ffc3c4c2c858a3b63b1c0 (patch) | |
tree | 19fff5ed14701d43355f6cab15213187a68f4af7 | |
parent | Apply asm redirections in wchar.h before first use (diff) | |
download | glibc-gentoo/glibc-2.35-10.tar.gz glibc-gentoo/glibc-2.35-10.tar.bz2 glibc-gentoo/glibc-2.35-10.zip |
m68k: Enforce 4-byte alignment on internal locks (BZ #29537)gentoo/glibc-2.35-10
The HPPA also requires a 16-byte alignment for locks, although it is
just a historical artifact to keep compatibility with old
implementation.
(cherry picked from commit 875cd481c386397b602b0293367d9a3e78308305)
-rw-r--r-- | sysdeps/nptl/libc-lockP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/nptl/libc-lockP.h b/sysdeps/nptl/libc-lockP.h index d3a6837fd2..9efe962588 100644 --- a/sysdeps/nptl/libc-lockP.h +++ b/sysdeps/nptl/libc-lockP.h @@ -34,7 +34,7 @@ #include <tls.h> /* Mutex type. */ -typedef int __libc_lock_t; +typedef int __libc_lock_t __LOCK_ALIGNMENT; typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t; typedef pthread_rwlock_t __libc_rwlock_t; |