From f7b465cfcbea9ecb72796e69dd11df7fb51230eb Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 24 Oct 2017 20:31:16 +1030 Subject: [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. --- sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S') diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S index 3cbcaada62..49b7adfbfa 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S +++ b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S @@ -17,9 +17,11 @@ #include +#if IS_IN (libc) #define STRNCMP __strncmp_power8 #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) #include +#endif -- cgit 1.4.1