From: kurt Date: Wed, 3 Feb 2021 13:00:39 +0000 (+0000) Subject: Adding a hard-trap instruction after the __threxit syscall instruction X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=05b039f4dc11d7662dcf95ccc48b62a2745a5111;p=openbsd Adding a hard-trap instruction after the __threxit syscall instruction broke pthreads on hppa. Reverting. Ok deraadt@ --- 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)