summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-05-14 21:40:38 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-05-14 21:40:38 +0000
commitf49e632c02b8b98b0a8dd36946c88a7de2e3fd48 (patch)
treee81f5a6faf5d17f99ab178a5d6cfbcda09205d0c /lib/libc
parent0193cf89f7be5c6b99665d57d5e1e693cd6a09b0 (diff)
Use STRONG_ALIAS instead of ALTENTRY.
ok millert@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/i386/string/strchr.S5
-rw-r--r--lib/libc/arch/i386/string/strrchr.S5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/arch/i386/string/strchr.S b/lib/libc/arch/i386/string/strchr.S
index 453cdd6c281..6d36a589d19 100644
--- a/lib/libc/arch/i386/string/strchr.S
+++ b/lib/libc/arch/i386/string/strchr.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: strchr.S,v 1.4 2014/11/30 19:43:56 deraadt Exp $ */
+/* $OpenBSD: strchr.S,v 1.5 2015/05/14 21:40:37 kettenis Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
@@ -6,7 +6,8 @@
#include <machine/asm.h>
-ALTENTRY(index)
+STRONG_ALIAS(index, strchr)
+
ENTRY(strchr)
movl 4(%esp),%eax
movb 8(%esp),%cl
diff --git a/lib/libc/arch/i386/string/strrchr.S b/lib/libc/arch/i386/string/strrchr.S
index ac6808fe797..8507e6ce43c 100644
--- a/lib/libc/arch/i386/string/strrchr.S
+++ b/lib/libc/arch/i386/string/strrchr.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: strrchr.S,v 1.4 2014/11/30 19:43:56 deraadt Exp $ */
+/* $OpenBSD: strrchr.S,v 1.5 2015/05/14 21:40:37 kettenis Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
@@ -6,7 +6,8 @@
#include <machine/asm.h>
-ALTENTRY(rindex)
+STRONG_ALIAS(rindex, strrchr)
+
ENTRY(strrchr)
pushl %ebx
movl 8(%esp),%edx