From: kettenis Date: Thu, 14 May 2015 21:40:37 +0000 (+0000) Subject: Use STRONG_ALIAS instead of ALTENTRY. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f1bfdb2b2c4958e7577ffd21cef2643c0e658f1b;p=openbsd Use STRONG_ALIAS instead of ALTENTRY. ok millert@ --- 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