Browse Source

fix broken cancellation on x32 due to incorrect saved-PC offset

Rich Felker 10 years ago
parent
commit
7fe273b2c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x32/pthread_arch.h

+ 1 - 1
arch/x32/pthread_arch.h

@@ -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