diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-24 20:31:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-31 12:27:19 +1030 |
commit | f7b465cfcbea9ecb72796e69dd11df7fb51230eb (patch) | |
tree | ed87539adf6bec8ce0b65bec85af137cef4e479c /sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S | |
parent | d46b09f9880b0365d98e9e0bcf7fb33dec417f54 (diff) | |
download | glibc-f7b465cfcbea9ecb72796e69dd11df7fb51230eb.tar.gz glibc-f7b465cfcbea9ecb72796e69dd11df7fb51230eb.tar.xz glibc-f7b465cfcbea9ecb72796e69dd11df7fb51230eb.zip |
[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.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S b/sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S index 48ea05d2c5..7a8488ac83 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S +++ b/sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S @@ -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 |