summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-09 15:45:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-09 15:45:18 +0000
commit1eb03d99500982fd0e998de438fce87d51d3d0cd (patch)
tree998d169ef54b410d6cdbfbe6e9fb5faf812d08be /lib/libc
parent96531a036c32c62162dca8cf37c143c1547a2ee3 (diff)
On the a.out architectures, WEAK_ALIAS does an implicit _C_LABEL()
ok miod
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/m68k/sys/cerror.S4
-rw-r--r--lib/libc/arch/m88k/sys/cerror.S4
-rw-r--r--lib/libc/arch/vax/sys/cerror.S4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/arch/m68k/sys/cerror.S b/lib/libc/arch/m68k/sys/cerror.S
index f9c9a302e36..dd81a1a6c66 100644
--- a/lib/libc/arch/m68k/sys/cerror.S
+++ b/lib/libc/arch/m68k/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.6 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.7 2011/04/09 15:45:16 deraadt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -34,7 +34,7 @@
#include "SYS.h"
-WEAK_ALIAS(__cerror, ___cerror)
+WEAK_ALIAS(_cerror,__cerror)
.even
.globl _errno
diff --git a/lib/libc/arch/m88k/sys/cerror.S b/lib/libc/arch/m88k/sys/cerror.S
index 64835bdf79b..4594b4ed259 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.8 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.9 2011/04/09 15:45:17 deraadt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -35,7 +35,7 @@
#include "SYS.h"
-WEAK_ALIAS(_C_LABEL(_cerror), _C_LABEL(__cerror))
+WEAK_ALIAS(_cerror,__cerror)
.globl _errno
ENTRY(__cerror)
diff --git a/lib/libc/arch/vax/sys/cerror.S b/lib/libc/arch/vax/sys/cerror.S
index 8f6e387ad33..fea12994e2e 100644
--- a/lib/libc/arch/vax/sys/cerror.S
+++ b/lib/libc/arch/vax/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.8 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.9 2011/04/09 15:45:17 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,7 +30,7 @@
#include "SYS.h"
-WEAK_ALIAS(_C_LABEL(_cerror), _C_LABEL(__cerror))
+WEAK_ALIAS(_cerror,__cerror)
.globl _C_LABEL(errno)
_C_LABEL(__cerror):