]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[PowerPC64] strncase_l-power7.c should use strncase_l.c
authorAlan Modra <amodra@gmail.com>
Tue, 24 Oct 2017 10:06:05 +0000 (20:36 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 31 Oct 2017 01:57:19 +0000 (12:27 +1030)
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.

ChangeLog
sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c

index c92f1e08f7226d26800c4ab4562ba61e1c6e1808..f07d41996923381fa677accbeefaf480b0f73445 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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:
index f87ff6c640ad58e5c224841e5e6d80c52a255e2c..73b967d1ed572b40f6a50e364201ca813cbd2166 100644 (file)
 #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>