fix broken cancellation on x32 due to incorrect saved-PC offset
authorRich Felker <dalias@aerifal.cx>
Sat, 2 May 2015 16:16:57 +0000 (12:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 May 2015 16:16:57 +0000 (12:16 -0400)
arch/x32/pthread_arch.h

index 29e4590..23e1051 100644 (file)
@@ -7,4 +7,4 @@ static inline struct pthread *__pthread_self()
 
 #define TP_ADJ(p) (p)
 
-#define CANCEL_REG_IP 16
+#define CANCEL_REG_IP 32