diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-14 19:10:38 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-26 13:53:36 +0000 |
commit | 7ddac7f265d3db6888c68b04b86e265d15859ce5 (patch) | |
tree | 2e43201ade07f3ff4afdb3e92007415e649b0d5b /sysdeps/sh/nptl | |
parent | 94a62cc55a3175fd375081d9b4366479371ed2ab (diff) | |
download | glibc-7ddac7f265d3db6888c68b04b86e265d15859ce5.zip glibc-7ddac7f265d3db6888c68b04b86e265d15859ce5.tar.gz glibc-7ddac7f265d3db6888c68b04b86e265d15859ce5.tar.bz2 |
nptl: Add default pthread-offsets.h
This patch adds a default pthread-offsets.h based on default
thread definitions from struct_mutex.h and struct_rwlock.h.
The idea is to simplify new ports inclusion.
Checked with a build on affected abis.
Change-Id: I7785a9581e651feb80d1413b9e03b5ac0452668a
Diffstat (limited to 'sysdeps/sh/nptl')
-rw-r--r-- | sysdeps/sh/nptl/pthread-offsets.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/sh/nptl/pthread-offsets.h b/sysdeps/sh/nptl/pthread-offsets.h deleted file mode 100644 index e9accba..0000000 --- a/sysdeps/sh/nptl/pthread-offsets.h +++ /dev/null @@ -1,7 +0,0 @@ -#define __PTHREAD_MUTEX_KIND_OFFSET 12 - -#if __BYTE_ORDER == __BIG_ENDIAN -# define __PTHREAD_RWLOCK_FLAGS_OFFSET 27 -#else -# define __PTHREAD_RWLOCK_FLAGS_OFFSET 24 -#endif |