summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2021-02-03 13:00:39 +0000
committerkurt <kurt@openbsd.org>2021-02-03 13:00:39 +0000
commit05b039f4dc11d7662dcf95ccc48b62a2745a5111 (patch)
treeb595890fe322b4551d166f2f705034ced1486ac4
parentAdd OID for draft-ietf-opsawg-finding-geofeeds (diff)
downloadwireguard-openbsd-05b039f4dc11d7662dcf95ccc48b62a2745a5111.tar.xz
wireguard-openbsd-05b039f4dc11d7662dcf95ccc48b62a2745a5111.zip
Adding a hard-trap instruction after the __threxit syscall instruction
broke pthreads on hppa. Reverting. Ok deraadt@
-rw-r--r--lib/libc/arch/hppa/sys/tfork_thread.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/arch/hppa/sys/tfork_thread.S b/lib/libc/arch/hppa/sys/tfork_thread.S
index 0d51179d3b6..3e28c396afc 100644
--- a/lib/libc/arch/hppa/sys/tfork_thread.S
+++ b/lib/libc/arch/hppa/sys/tfork_thread.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: tfork_thread.S,v 1.3 2020/10/18 14:28:17 deraadt Exp $ */
+/* $OpenBSD: tfork_thread.S,v 1.4 2021/02/03 13:00:39 kurt Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -45,7 +45,6 @@ ENTRY(__tfork_thread, 0)
copy r0, arg0
SYSCALL(__threxit)
- break 0, 0
1:
bv r0(rp)