fix stack protector crashes on x32 & powerpc due to misplaced TLS canary
[musl] / arch / x32 / pthread_arch.h
index 23e1051..033bfd6 100644 (file)
@@ -8,3 +8,5 @@ static inline struct pthread *__pthread_self()
 #define TP_ADJ(p) (p)
 
 #define CANCEL_REG_IP 32
+
+#define CANARY canary2