about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-10-24 20:24:59 +1030
committerAlan Modra <amodra@gmail.com>2017-10-31 12:27:19 +1030
commite9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c (patch)
treea339f0d7cedea339eb63fc265db5d136b4acf114 /sysdeps/powerpc/powerpc64/multiarch
parentf7b465cfcbea9ecb72796e69dd11df7fb51230eb (diff)
downloadglibc-e9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c.tar.gz
glibc-e9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c.tar.xz
glibc-e9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c.zip
[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.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
index da4c4054c3..72121bcb4c 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
@@ -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>