summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-04-09 15:45:16 +0000
committerderaadt <deraadt@openbsd.org>2011-04-09 15:45:16 +0000
commite22221abf64ee3dc15e0fb25fe323506cfedcd9e (patch)
tree09933b29be64c0f3cfae453a52e496ff79628044 /lib/libc
parentFix multiple issues and make the code simpler and more robust: (diff)
downloadwireguard-openbsd-e22221abf64ee3dc15e0fb25fe323506cfedcd9e.tar.xz
wireguard-openbsd-e22221abf64ee3dc15e0fb25fe323506cfedcd9e.zip
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):