_C_LABEL()
This commit is contained in:
parent
427b112ded
commit
6e979b59fa
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __vfork14.S,v 1.1 2000/01/05 14:07:40 msaitoh Exp $ */
|
||||
/* $NetBSD: __vfork14.S,v 1.2 2001/02/16 20:03:09 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -40,7 +40,7 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
RCSID("$NetBSD: __vfork14.S,v 1.1 2000/01/05 14:07:40 msaitoh Exp $")
|
||||
RCSID("$NetBSD: __vfork14.S,v 1.2 2001/02/16 20:03:09 msaitoh Exp $")
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
@ -72,4 +72,4 @@ err:
|
||||
LSYS___vfork14:
|
||||
.long SYS___vfork14
|
||||
L_errno:
|
||||
.long _errno
|
||||
.long _C_LABEL(errno)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ptrace.S,v 1.1 2000/01/05 14:07:41 msaitoh Exp $ */
|
||||
/* $NetBSD: ptrace.S,v 1.2 2001/02/16 20:03:09 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -40,7 +40,7 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
RCSID("$NetBSD: ptrace.S,v 1.1 2000/01/05 14:07:41 msaitoh Exp $")
|
||||
RCSID("$NetBSD: ptrace.S,v 1.2 2001/02/16 20:03:09 msaitoh Exp $")
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
@ -60,7 +60,7 @@ err:
|
||||
nop
|
||||
|
||||
.align 2
|
||||
L_errno: .long _errno
|
||||
L_errno: .long _C_LABEL(errno)
|
||||
LSYS_ptrace: .long SYS_ptrace
|
||||
Lcerror: .long cerror
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: setlogin.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $ */
|
||||
/* $NetBSD: setlogin.S,v 1.3 2001/02/16 20:03:09 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -40,12 +40,12 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
#if defined(LIBC_SCCS)
|
||||
RCSID("$NetBSD: setlogin.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $")
|
||||
RCSID("$NetBSD: setlogin.S,v 1.3 2001/02/16 20:03:09 msaitoh Exp $")
|
||||
#endif
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
.globl ___logname_valid /* in getlogin() */
|
||||
.globl _C_LABEL(__logname_valid) /* in getlogin() */
|
||||
SYSCALL(setlogin)
|
||||
xor r0,r0
|
||||
mov.l L___logname_valid, r1
|
||||
@ -53,5 +53,4 @@ SYSCALL(setlogin)
|
||||
mov.l r0, @r1
|
||||
|
||||
.align 2
|
||||
L___logname_valid: .long ___logname_valid
|
||||
|
||||
L___logname_valid: .long _C_LABEL(__logname_valid)
|
||||
|
Loading…
Reference in New Issue
Block a user