From f1bfdb2b2c4958e7577ffd21cef2643c0e658f1b Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 14 May 2015 21:40:37 +0000 Subject: [PATCH] Use STRONG_ALIAS instead of ALTENTRY. ok millert@ --- lib/libc/arch/i386/string/strchr.S | 5 +++-- lib/libc/arch/i386/string/strrchr.S | 5 +++-- 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 . * Public domain. @@ -6,7 +6,8 @@ #include -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 . * Public domain. @@ -6,7 +6,8 @@ #include -ALTENTRY(rindex) +STRONG_ALIAS(rindex, strrchr) + ENTRY(strrchr) pushl %ebx movl 8(%esp),%edx -- 2.20.1