]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Use 3 bytes for __pad1 in pthread_rwlock_t for x32
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 19 Jun 2014 22:22:52 +0000 (15:22 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 19 Jun 2014 22:24:33 +0000 (15:24 -0700)
commitc8daec5c7cd19378112391d2394e6d6344e156dc
treed8da10024d3b93c5f59f29beaf2af92f48dfbf39
parent5c74e47cd628a6fcd2e4eba021301e275f8a95a3
Use 3 bytes for __pad1 in pthread_rwlock_t for x32

Since long is 4 bytes for x32, we should use 3 bytes for __pad1 when
a long __pad1 is replaced by a byte __rwelision and __pad1.

* sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3 bytes for __pad1 for x32.
(__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
ChangeLog
sysdeps/x86/nptl/bits/pthreadtypes.h