diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-06-09 22:56:24 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-06-09 22:56:24 +0000 |
| commit | f4086bc0cb89575fdcb1d118e65e8a0b8594b648 (patch) | |
| tree | 6afef34cdd545eef0dfcdff43e9102b38098cb67 /lib/libc | |
| parent | 9e0370f74213bfa41cf3ea814159396f8d98efa3 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/alpha/sys/cerror.S | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/libc/alpha/sys/cerror.S b/lib/libc/alpha/sys/cerror.S index c277587d2e57..cce30068de6c 100644 --- a/lib/libc/alpha/sys/cerror.S +++ b/lib/libc/alpha/sys/cerror.S @@ -1,4 +1,5 @@ -/* $NetBSD: cerror.S,v 1.4 1996/11/08 00:52:46 cgd Exp $ */ +/* $Id$ */ +/* From: NetBSD: cerror.S,v 1.4 1996/11/08 00:52:46 cgd Exp */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -29,21 +30,14 @@ #include "SYS.h" -#ifdef _REENTRANT #define FRAME_SIZE 16 #define FRAME_RA_OFFSET 0 #define FRAME_V0_OFFSET 8 -#endif -#ifdef _REENTRANT NESTED(cerror, 0, FRAME_SIZE, ra, IM_RA|IM_V0, 0) -#else -LEAF(cerror, 0) -#endif br t0, L1 L1: LDGP(t0) -#ifdef _REENTRANT lda sp, -FRAME_SIZE(sp) stq ra, FRAME_RA_OFFSET(sp) stq v0, FRAME_V0_OFFSET(sp) @@ -52,14 +46,9 @@ L1: LDGP(t0) ldq t0, FRAME_V0_OFFSET(sp) stl t0, 0(v0) -#else - stl v0, errno -#endif ldiq v0, -1 -#ifdef _REENTRANT ldq ra, FRAME_RA_OFFSET(sp) lda sp, FRAME_SIZE(sp) -#endif RET END(cerror) |
