summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-10-16 17:47:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-10-16 17:47:49 +0000
commitf128dbc0d60d64fbe0e8c9bcb752addec8e11f55 (patch)
tree541821466bd380180e43155f1192f8fb1f66a17a
parentf590f7679f0eb9b733faf2b7287dc4c6f250cdac (diff)
Only a clown like me could put cerror in the data section by mistake...
-rw-r--r--lib/libc/arch/m88k/sys/cerror.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/arch/m88k/sys/cerror.S b/lib/libc/arch/m88k/sys/cerror.S
index ae33ff829a8..39df8e5d490 100644
--- a/lib/libc/arch/m88k/sys/cerror.S
+++ b/lib/libc/arch/m88k/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.5 2003/06/02 20:18:31 millert Exp $ */
+/* $OpenBSD: cerror.S,v 1.6 2003/10/16 17:47:48 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -35,14 +35,13 @@
#if defined(LIBC_SCCS)
.data
- .string "$OpenBSD: cerror.S,v 1.5 2003/06/02 20:18:31 millert Exp $"
+ .string "$OpenBSD: cerror.S,v 1.6 2003/10/16 17:47:48 miod Exp $"
#endif /* LIBC_SCCS */
#include "SYS.h"
- .align 8
.globl _errno
-__cerror:
+ENTRY(_cerror)
or.u r4,r0,hi16(_errno)
st r2,r4,lo16(_errno)
sub r2,r0,0x1