diff options
author | rofl0r <retnyg@gmx.net> | 2017-01-13 10:28:46 +0000 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2017-01-13 10:47:08 +0000 |
commit | 1f53e7d00c375efb32e2e468f91a42668653d5f0 (patch) | |
tree | d349d8718c0819061540cdfd751bb7b7806a30a7 /arch/x32 | |
parent | 27b3fd68f67b674440d21ea7ca5cf918d2e1559f (diff) | |
download | musl-1f53e7d00c375efb32e2e468f91a42668653d5f0.tar.gz musl-1f53e7d00c375efb32e2e468f91a42668653d5f0.tar.xz musl-1f53e7d00c375efb32e2e468f91a42668653d5f0.zip |
fix crashes in x32 __tls_get_addr
x32 has another gratuitous difference to all other archs: it passes an array of 64bit values to __tls_get_addr(). usually it is an array of size_t.
Diffstat (limited to 'arch/x32')
-rw-r--r-- | arch/x32/pthread_arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x32/pthread_arch.h b/arch/x32/pthread_arch.h index ecb0bbfb..267ad073 100644 --- a/arch/x32/pthread_arch.h +++ b/arch/x32/pthread_arch.h @@ -10,3 +10,5 @@ static inline struct pthread *__pthread_self() #define MC_PC gregs[REG_RIP] #define CANARY canary2 + +#define tls_mod_off_t unsigned long long |