aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-04 13:36:05 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-26 13:53:36 +0000
commit48dbce60cfdd328b671aaa9ee0c54ded3246ece9 (patch)
tree0541fb9a339fede5f26ce664b19558e27c89ab96 /sysdeps/i386
parent71d260c1077ce7ab1530809fc826756bdcd032b0 (diff)
downloadglibc-48dbce60cfdd328b671aaa9ee0c54ded3246ece9.tar
glibc-48dbce60cfdd328b671aaa9ee0c54ded3246ece9.tar.gz
glibc-48dbce60cfdd328b671aaa9ee0c54ded3246ece9.tar.bz2
glibc-48dbce60cfdd328b671aaa9ee0c54ded3246ece9.zip
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
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/nptl/pthread-offsets.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/i386/nptl/pthread-offsets.h b/sysdeps/i386/nptl/pthread-offsets.h
index e4e775d7ed..7940d1fd88 100644
--- a/sysdeps/i386/nptl/pthread-offsets.h
+++ b/sysdeps/i386/nptl/pthread-offsets.h
@@ -1 +1,3 @@
#define __PTHREAD_MUTEX_KIND_OFFSET 12
+
+#define __PTHREAD_RWLOCK_FLAGS_OFFSET 24