[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.
This commit is contained in:
Alan Modra 2017-10-24 20:36:05 +10:30
parent e9e7eced01
commit 112f30b3f1
2 changed files with 11 additions and 2 deletions

View File

@ -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:

View File

@ -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>