diff options
author | 2020-10-19 17:57:40 +0000 | |
---|---|---|
committer | 2020-10-19 17:57:40 +0000 | |
commit | 5bbf88322ed6a7a68da69a643f5f3b793160f0cd (patch) | |
tree | 7d82d88571db666dec26e8992d2666b43fde160a /lib/libc | |
parent | Handle NO_PROPOSAL_CHOSEN as IKE_AUTH initiator. (diff) | |
download | wireguard-openbsd-5bbf88322ed6a7a68da69a643f5f3b793160f0cd.tar.xz wireguard-openbsd-5bbf88322ed6a7a68da69a643f5f3b793160f0cd.zip |
replace ad-hoc illegal instruction with the architecturally defined one
("permanently undefined")
ok deraadt@ kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/aarch64/sys/tfork_thread.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/arm/sys/tfork_thread.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/aarch64/sys/tfork_thread.S b/lib/libc/arch/aarch64/sys/tfork_thread.S index 18cb9fa474e..20e87b1c12a 100644 --- a/lib/libc/arch/aarch64/sys/tfork_thread.S +++ b/lib/libc/arch/aarch64/sys/tfork_thread.S @@ -1,4 +1,4 @@ -/* $OpenBSD: tfork_thread.S,v 1.5 2020/10/18 14:28:16 deraadt Exp $ */ +/* $OpenBSD: tfork_thread.S,v 1.6 2020/10/19 17:57:40 naddy Exp $ */ /* * Copyright (c) 2005 Dale Rahn <drahn@openbsd.org> * @@ -43,6 +43,6 @@ ENTRY(__tfork_thread) mov x0, x3 blr x2 SYSTRAP(__threxit) - .word 0xa000f7f0 /* illegal on all cpus? */ + udf #0 .cfi_endproc END(__tfork_thread) diff --git a/lib/libc/arch/arm/sys/tfork_thread.S b/lib/libc/arch/arm/sys/tfork_thread.S index b5714d7ac53..d772458abc9 100644 --- a/lib/libc/arch/arm/sys/tfork_thread.S +++ b/lib/libc/arch/arm/sys/tfork_thread.S @@ -1,4 +1,4 @@ -/* $OpenBSD: tfork_thread.S,v 1.5 2020/10/18 14:28:17 deraadt Exp $ */ +/* $OpenBSD: tfork_thread.S,v 1.6 2020/10/19 17:57:40 naddy Exp $ */ /* * Copyright (c) 2005 Dale Rahn <drahn@openbsd.org> * @@ -37,5 +37,5 @@ ENTRY(__tfork_thread) mov pc, r2 nop SYSTRAP(__threxit) - .word 0xa000f7f0 /* illegal on all cpus? */ + udf #0 END(__tfork_thread) |