diff options
author | 2020-11-07 02:52:08 +0000 | |
---|---|---|
committer | 2020-11-07 02:52:08 +0000 | |
commit | ea0d283d96f7da374e9a3a920be989de8054b655 (patch) | |
tree | e7d314afcccd0a38f32ff2de19dcaa66b14bbfb1 /lib/libc | |
parent | Remove the -L option. A debugging tool that is no longer required. (diff) | |
download | wireguard-openbsd-ea0d283d96f7da374e9a3a920be989de8054b655.tar.xz wireguard-openbsd-ea0d283d96f7da374e9a3a920be989de8054b655.zip |
Actually m88k assembler can not handle 'nop' mnemonic, use a macro instead.
ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/m88k/sys/tfork_thread.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/m88k/sys/tfork_thread.S b/lib/libc/arch/m88k/sys/tfork_thread.S index 2ffdb89fe11..e8ba8289291 100644 --- a/lib/libc/arch/m88k/sys/tfork_thread.S +++ b/lib/libc/arch/m88k/sys/tfork_thread.S @@ -1,4 +1,4 @@ -/* $OpenBSD: tfork_thread.S,v 1.6 2020/10/18 14:28:18 deraadt Exp $ */ +/* $OpenBSD: tfork_thread.S,v 1.7 2020/11/07 02:52:08 aoyama Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -27,6 +27,8 @@ #include "SYS.h" +#define NOP or %r0, %r0, %r0 + /* * int __tfork_thread(const struct __tfork *param, size_t psize, void (*func)(void *), void *arg); */ @@ -51,6 +53,6 @@ ENTRY(__tfork_thread) or %r13, %r0, __SYSCALLNAME(SYS_,__threxit) tb0 0, %r0, 450 - nop + NOP tb0 0, %r0, 130 /* breakpoint */ END(__tfork_thread) |