summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-02-26 19:43:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-02-26 19:43:57 +0000
commit8c02467ed0b3a49569721e108877a2acf8c31fda (patch)
tree4443abcf7daf605414fcf0675b597c493006f015
parent4dae6e2e86f0631c3b64f8065b8086ae7ad57b3e (diff)
Fix buglets.
-rw-r--r--lib/librthread/arch/sh/cerror.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librthread/arch/sh/cerror.S b/lib/librthread/arch/sh/cerror.S
index 1f19e2846d5..6e67cf8aadf 100644
--- a/lib/librthread/arch/sh/cerror.S
+++ b/lib/librthread/arch/sh/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.1 2011/10/17 06:39:20 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.2 2012/02/26 19:43:56 miod Exp $ */
/* $NetBSD: cerror.S,v 1.10 2006/01/06 05:14:39 uwe Exp $ */
/*-
@@ -37,7 +37,7 @@
#include "SYS.h"
-NASENTRY(CERROR)
+ASENTRY(CERROR)
mov.l .L___errno, r1
PIC_PROLOGUE(.L_got)
sts.l pr, @-sp
@@ -53,6 +53,6 @@ NASENTRY(CERROR)
.align 2
.L_got: PIC_GOT_DATUM
-.L___errno: CALL_DATUM(_C_LABEL(_errno), 1b)
+.L___errno: CALL_DATUM(_C_LABEL(__errno), 1b)
SET_ASENTRY_SIZE(CERROR)