[PowerPC64] Tidy strcasecmp_l-power7.S symbols

The routine being assembled here is strcasecmp_l, so ask for that via
__STRCMP and STRCMP defines.  That change means tweaking the power7
override.  Needed for later powerpc64le changes where we want the base
symbols, not just a power7 variant.

	* sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
	(__STRCMP, STRCMP, __strcasecmp_l): Define.
	(__strcasecmp): Don't define.
This commit is contained in:
Alan Modra 2017-10-24 20:24:59 +10:30
parent f7b465cfcb
commit e9e7eced01
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-10-31 Alan Modra <amodra@gmail.com>
* sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
(__STRCMP, STRCMP, __strcasecmp_l): Define.
(__strcasecmp): Don't define.
2017-10-31 Alan Modra <amodra@gmail.com>
* sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in

View File

@ -18,7 +18,7 @@
#include <sysdep.h>
#define __strcasecmp __strcasecmp_l_power7
#define __strcasecmp_l __strcasecmp_l_power7
#undef weak_alias
#define weak_alias(name, alias)
@ -27,5 +27,7 @@
#define libc_hidden_builtin_def(name)
#define USE_IN_EXTENDED_LOCALE_MODEL
#define __STRCMP __strcasecmp_l
#define STRCMP strcasecmp_l
#include <sysdeps/powerpc/powerpc64/power7/strcasecmp.S>