fix TLS layout of TLS variant I when there is a gap above TP
[musl] / arch / powerpc64 / pthread_arch.h
index 2f976fe..37b75e2 100644 (file)
@@ -6,6 +6,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