diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-06 15:05:56 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-08 17:13:58 -0300 |
commit | 22999b2f0fb62eed1af4095d062bd1272d6afeb1 (patch) | |
tree | cb21ffd0c043cdb5393c3529148b83679349d7a5 /sysdeps/s390/memrchr-c.c | |
parent | 7ea510127e2067efa07865158ac92c330c379950 (diff) | |
download | glibc-22999b2f0fb62eed1af4095d062bd1272d6afeb1.tar.gz glibc-22999b2f0fb62eed1af4095d062bd1272d6afeb1.tar.xz glibc-22999b2f0fb62eed1af4095d062bd1272d6afeb1.zip |
string: Add libc_hidden_proto for memrchr
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/s390/memrchr-c.c')
-rw-r--r-- | sysdeps/s390/memrchr-c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/s390/memrchr-c.c b/sysdeps/s390/memrchr-c.c index ce97bc6714..bdf3c7bbe0 100644 --- a/sysdeps/s390/memrchr-c.c +++ b/sysdeps/s390/memrchr-c.c @@ -24,4 +24,8 @@ # endif # include <string/memrchr.c> + +# if defined SHARED && IS_IN (libc) +__hidden_ver1 (__memrchr_c, __GI___memrchr, __memrchr_c); +# endif #endif |