nptl: Add tests for internal pthread_rwlock_t offsets
commit48dbce60cfdd328b671aaa9ee0c54ded3246ece9
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 4 Nov 2019 13:36:05 +0000 (4 13:36 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 26 Nov 2019 13:53:36 +0000 (26 13:53 +0000)
tree0541fb9a339fede5f26ce664b19558e27c89ab96
parent71d260c1077ce7ab1530809fc826756bdcd032b0
nptl: Add tests for internal pthread_rwlock_t offsets

This patch new build tests to check for internal fields offsets for
internal pthread_rwlock_t definition.  Althoug the '__data.__flags'
field layout should be preserved due static initializators, the patch
also adds tests for the futexes that may be used in a shared memory
(although using different libc version in such scenario is not really
supported).

Checked with a build against all affected ABIs.

Change-Id: Iccc103d557de13d17e4a3f59a0cad2f4a640c148
18 files changed:
nptl/pthread_rwlock_init.c
sysdeps/aarch64/nptl/pthread-offsets.h
sysdeps/alpha/nptl/pthread-offsets.h
sysdeps/arm/nptl/pthread-offsets.h
sysdeps/csky/nptl/pthread-offsets.h
sysdeps/hppa/nptl/pthread-offsets.h
sysdeps/i386/nptl/pthread-offsets.h
sysdeps/ia64/nptl/pthread-offsets.h
sysdeps/m68k/nptl/pthread-offsets.h
sysdeps/microblaze/nptl/pthread-offsets.h
sysdeps/mips/nptl/pthread-offsets.h
sysdeps/nios2/nptl/pthread-offsets.h
sysdeps/powerpc/nptl/pthread-offsets.h
sysdeps/riscv/nptl/pthread-offsets.h
sysdeps/s390/nptl/pthread-offsets.h
sysdeps/sh/nptl/pthread-offsets.h
sysdeps/sparc/nptl/pthread-offsets.h
sysdeps/x86_64/nptl/pthread-offsets.h