[PowerPC64] Wrap str{,n}cmp-power{8,9}.S in IS_IN(libc)

These functions aren't used in ld.so at the moment since we don't have
strcmp or strncmp ifuncs for them there.  Remove the ld.so bloat.

	* sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
	IS_IN (libc).
	* sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
This commit is contained in:
Alan Modra 2017-10-24 20:31:16 +10:30
parent d46b09f988
commit f7b465cfcb
5 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2017-10-31 Alan Modra <amodra@gmail.com>
* sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
IS_IN (libc).
* sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2017-10-31 Alan Modra <amodra@gmail.com>
* sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define

View File

@ -18,9 +18,11 @@
#include <sysdep.h>
#if IS_IN (libc)
#define STRCMP __strcmp_power8
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name)
#include <sysdeps/powerpc/powerpc64/power8/strcmp.S>
#endif

View File

@ -18,9 +18,11 @@
#include <sysdep.h>
#if IS_IN (libc)
#define STRCMP __strcmp_power9
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name)
#include <sysdeps/powerpc/powerpc64/power9/strcmp.S>
#endif

View File

@ -17,9 +17,11 @@
#include <sysdep.h>
#if IS_IN (libc)
#define STRNCMP __strncmp_power8
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name)
#include <sysdeps/powerpc/powerpc64/power8/strncmp.S>
#endif

View File

@ -17,9 +17,11 @@
#include <sysdep.h>
#if IS_IN (libc)
#define STRNCMP __strncmp_power9
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name)
#include <sysdeps/powerpc/powerpc64/power9/strncmp.S>
#endif