diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-24 20:36:05 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-31 12:27:19 +1030 |
commit | 112f30b3f143af84fa4b0a9dd460b0d934483533 (patch) | |
tree | dcde2ce3947a1210621d87c74e1892b8d4cb6773 | |
parent | e9e7eced0189c4abb71b5f83bfd5cbcc1202ab1c (diff) | |
download | glibc-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c | 6 |
2 files changed, 11 insertions, 2 deletions
@@ -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> |