]> sourceware.org Git - glibc.git/commitdiff
[PowerPC64] Wrap str{,n}cmp-power{8,9}.S in IS_IN(libc)
authorAlan Modra <amodra@gmail.com>
Tue, 24 Oct 2017 10:01:16 +0000 (20:31 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 31 Oct 2017 01:57:19 +0000 (12:27 +1030)
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.

ChangeLog
sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S
sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S
sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S
sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S

index 5efa9269715945c86230efcf896caf23a200554d..f1fc1798957f75134ac94b02467915f54fb698c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index b2464a80186ec2f0ad2e3e5ff86c838b41170374..b0d2d37f05ac5d9194d4bccc7c116a6123bc774a 100644 (file)
 
 #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
index 48ea05d2c5018329b0a3ecda96b320e09c5dbd8a..7a8488ac83f9ad1771c5c06028d7e1c42bd9b509 100644 (file)
 
 #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
index 3cbcaada62831ff769d298ae046a6897c6deabc0..49b7adfbfaa6dac86f03743939080c46cb2c8e2a 100644 (file)
 
 #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
index 6d0deaa6e6816a61f707bfa56378b2437d9cc735..e1a961c5c4a7e87d18607d2bbbc9793ab68e4069 100644 (file)
 
 #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
This page took 0.085943 seconds and 5 git commands to generate.