aboutsummaryrefslogtreecommitdiff
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
parente9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c (diff)
downloadglibc-112f30b3f143af84fa4b0a9dd460b0d934483533.tar
glibc-112f30b3f143af84fa4b0a9dd460b0d934483533.tar.gz
glibc-112f30b3f143af84fa4b0a9dd460b0d934483533.tar.bz2
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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c92f1e08f7..f07d419969 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2017-10-31 Alan Modra <amodra@gmail.com>
+ * 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.
+
+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.
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>