about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-10-24 20:36:05 +1030
committerAlan Modra <amodra@gmail.com>2017-10-31 12:27:19 +1030
commit112f30b3f143af84fa4b0a9dd460b0d934483533 (patch)
treedcde2ce3947a1210621d87c74e1892b8d4cb6773 /sysdeps/powerpc
parente9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c (diff)
downloadglibc-112f30b3f143af84fa4b0a9dd460b0d934483533.tar.gz
glibc-112f30b3f143af84fa4b0a9dd460b0d934483533.tar.xz
glibc-112f30b3f143af84fa4b0a9dd460b0d934483533.zip
[PowerPC64] strncase_l-power7.c should use strncase_l.c
This is another one where we'll be wanting the base symbols for
powerpc64le rather than just a power7 variant.

	* sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
	string/strncase_l.c, not string/strncase.c.
	(USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
	(libc_hidden_def): Redefine.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c b/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c
index f87ff6c640..73b967d1ed 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c
+++ b/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c
@@ -18,8 +18,10 @@
 #include <string.h>
 
 #define __strncasecmp_l __strncasecmp_l_power7
-#define USE_IN_EXTENDED_LOCALE_MODEL    1
+
+#undef libc_hidden_def
+#define libc_hidden_def(name)
 
 extern __typeof (strncasecmp_l) __strncasecmp_l_power7 attribute_hidden;
 
-#include <string/strncase.c>
+#include <string/strncase_l.c>