summaryrefslogtreecommitdiff
path: root/lib/libc/arch/hppa/sys/cerror.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/hppa/sys/cerror.S')
-rw-r--r--lib/libc/arch/hppa/sys/cerror.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/arch/hppa/sys/cerror.S b/lib/libc/arch/hppa/sys/cerror.S
index 22445a56c05..fb9998fb6da 100644
--- a/lib/libc/arch/hppa/sys/cerror.S
+++ b/lib/libc/arch/hppa/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.4 2004/06/10 18:36:04 mickey Exp $ */
+/* $OpenBSD: cerror.S,v 1.5 2011/04/04 12:42:39 guenther Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -28,8 +28,10 @@
#include "SYS.h"
+WEAK_ALIAS(__cerror, ___cerror)
+
.import errno, data
-ENTRY(__cerror,0)
+ENTRY(___cerror,0)
#ifdef PIC
addil LT%errno, r19
ldw RT%errno(r1), r1
@@ -41,6 +43,6 @@ ENTRY(__cerror,0)
ldi -1, ret0
bv r0(rp)
ldi -1, ret1
-EXIT(__cerror)
+EXIT(___cerror)
.end