浏览代码

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

Rich Felker 10 年之前
父节点
当前提交
7fe273b2c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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