summaryrefslogtreecommitdiff
path: root/arch/x32/pthread_arch.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-02 12:16:57 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-02 12:16:57 -0400
commit7fe273b2c163e4594221375120c6ce209a783262 (patch)
tree1ff27bf39f11e394c23225da824fcf65a6d4d9da /arch/x32/pthread_arch.h
parent551c1d7a5718667da2ee56434c18f0a9b9612ed2 (diff)
downloadmusl-7fe273b2c163e4594221375120c6ce209a783262.tar.gz
fix broken cancellation on x32 due to incorrect saved-PC offset
Diffstat (limited to 'arch/x32/pthread_arch.h')
-rw-r--r--arch/x32/pthread_arch.h2
1 files changed, 1 insertions, 1 deletions
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