fix TLS layout of TLS variant I when there is a gap above TP
[musl] / arch / mips64 / pthread_arch.h
index e581265..5fea15a 100644 (file)
@@ -11,6 +11,7 @@ static inline struct pthread *__pthread_self()
 }
 
 #define TLS_ABOVE_TP
+#define GAP_ABOVE_TP 0
 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) + 0x7000)
 
 #define DTP_OFFSET 0x8000