diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-07 20:58:41 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-26 13:53:36 +0000 |
commit | 71d260c1077ce7ab1530809fc826756bdcd032b0 (patch) | |
tree | dbd30cdc6015415b34e6fd483c6a6186093c75ba /sysdeps/riscv | |
parent | 7fc8c286e31a336caa008a8bcfb00aac1e47cdc8 (diff) | |
download | glibc-71d260c1077ce7ab1530809fc826756bdcd032b0.tar glibc-71d260c1077ce7ab1530809fc826756bdcd032b0.tar.gz glibc-71d260c1077ce7ab1530809fc826756bdcd032b0.tar.bz2 glibc-71d260c1077ce7ab1530809fc826756bdcd032b0.zip |
nptl: Cleanup mutex internal offset tests
The offsets of pthread_mutex_t __data.__nusers, __data.__spins,
__data.elision, __data.list are not required to be constant over
the releases. Only the __data.__kind is used for static
initializers.
This patch also adds an additional size check for __data.__kind.
Checked with a build against affected ABIs.
Change-Id: I7a4e48cc91b4c4ada57e9a5d1b151fb702bfaa9f
Diffstat (limited to 'sysdeps/riscv')
-rw-r--r-- | sysdeps/riscv/nptl/pthread-offsets.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/riscv/nptl/pthread-offsets.h b/sysdeps/riscv/nptl/pthread-offsets.h index f1640047a0..6fc032fdc2 100644 --- a/sysdeps/riscv/nptl/pthread-offsets.h +++ b/sysdeps/riscv/nptl/pthread-offsets.h @@ -17,8 +17,4 @@ License along with the GNU C Library. If not, see <https://www.gnu.org/licenses/>. */ -#define __PTHREAD_MUTEX_NUSERS_OFFSET 12 #define __PTHREAD_MUTEX_KIND_OFFSET 16 -#define __PTHREAD_MUTEX_SPINS_OFFSET 20 -#define __PTHREAD_MUTEX_ELISION_OFFSET 22 -#define __PTHREAD_MUTEX_LIST_OFFSET 24 |