From 7fe273b2c163e4594221375120c6ce209a783262 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 2 May 2015 12:16:57 -0400 Subject: [PATCH] fix broken cancellation on x32 due to incorrect saved-PC offset --- arch/x32/pthread_arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x32/pthread_arch.h b/arch/x32/pthread_arch.h index 29e4590c..23e10516 100644 --- a/arch/x32/pthread_arch.h +++ b/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 -- 2.25.1