summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-04-05 16:58:48 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-04-05 16:58:48 +0000
commitc171172355fd8d71a5b7baad6385cfb02efec128 (patch)
treef619d44beba6d986eba51814a6afe51438b36ce4
parent8dcfdd745e17666b639e8f9b6b6476c545ccbb9e (diff)
Fix the previous commit: define ___cerror, no __cerror
tested by otto@; ok miod@
-rw-r--r--lib/libc/arch/mips64/sys/cerror.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/mips64/sys/cerror.S b/lib/libc/arch/mips64/sys/cerror.S
index 8da17f74b17..08950399b72 100644
--- a/lib/libc/arch/mips64/sys/cerror.S
+++ b/lib/libc/arch/mips64/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.4 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.5 2011/04/05 16:58:47 guenther Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -40,9 +40,9 @@ WEAK_ALIAS(cerror, _CERROR)
WEAK_ALIAS(CERROR, _CERROR)
.globl _C_LABEL(errno)
-LEAF(CERROR, FRAMESZ)
+LEAF(_CERROR, FRAMESZ)
PTR_SUBU sp, FRAMESZ
- SETUP_GP64(GPOFF, CERROR)
+ SETUP_GP64(GPOFF, _CERROR)
.set noreorder
sw v0, _C_LABEL(errno)
li v0, -1
@@ -50,4 +50,4 @@ LEAF(CERROR, FRAMESZ)
PTR_ADDU sp, FRAMESZ
j ra
li v1, -1
-END(CERROR)
+END(_CERROR)