diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-06 13:15:22 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-08 17:13:56 -0300 |
commit | 7ea510127e2067efa07865158ac92c330c379950 (patch) | |
tree | df830b3da00683a56693e2cca08268b8764c14eb /sysdeps/powerpc/powerpc64 | |
parent | 9fd63e35371b9939e9153907c6a753e6960b68ad (diff) | |
download | glibc-7ea510127e2067efa07865158ac92c330c379950.tar glibc-7ea510127e2067efa07865158ac92c330c379950.tar.gz glibc-7ea510127e2067efa07865158ac92c330c379950.tar.bz2 glibc-7ea510127e2067efa07865158ac92c330c379950.zip |
string: Add libc_hidden_proto for strchrnul
Although static linker can optimize it to local call, it follows the
internal scheme to provide hidden proto and definitions.
Reviewed-by: Carlos Eduardo Seo <carlos.seo@linaro.org>
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strchrnul.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c b/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c index a901fa3c45..94873507a6 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c +++ b/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c @@ -35,6 +35,7 @@ libc_ifunc (__strchrnul, ? __strchrnul_power7 : __strchrnul_ppc); +libc_hidden_def (__strchrnul) weak_alias (__strchrnul, strchrnul) #else #include <string/strchrnul.c> |