No need to .import __cerror as SYS.h does it

This commit is contained in:
skrll 2020-05-09 08:25:33 +00:00
parent a7cb2d7d63
commit fe2a0db7f4
2 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: __vfork14.S,v 1.9 2020/05/05 20:43:47 skrll Exp $ */
/* $NetBSD: __vfork14.S,v 1.10 2020/05/09 08:25:33 skrll Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -52,8 +52,6 @@ ENTRY(__vfork14, 0)
* syscall entry code in locore.S has been modified
* to do just this for the t4 register.
*/
.import __cerror, code
copy %rp, %t4
ldil L%SYSCALLGATE, %r1
ble 4(%sr2, %r1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ptrace.S,v 1.6 2008/04/28 20:22:56 martin Exp $ */
/* $NetBSD: ptrace.S,v 1.7 2020/05/09 08:25:33 skrll Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -32,8 +32,6 @@
#include <sys/errno.h>
#include "SYS.h"
.import __cerror, code
/*
* int ptrace(int request, pid_t pid, void * addr, int data);
*/