aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/power8
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-06 15:05:56 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-08 17:13:58 -0300
commit22999b2f0fb62eed1af4095d062bd1272d6afeb1 (patch)
treecb21ffd0c043cdb5393c3529148b83679349d7a5 /sysdeps/powerpc/powerpc64/power8
parent7ea510127e2067efa07865158ac92c330c379950 (diff)
downloadglibc-22999b2f0fb62eed1af4095d062bd1272d6afeb1.tar
glibc-22999b2f0fb62eed1af4095d062bd1272d6afeb1.tar.gz
glibc-22999b2f0fb62eed1af4095d062bd1272d6afeb1.tar.bz2
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/powerpc/powerpc64/power8')
-rw-r--r--sysdeps/powerpc/powerpc64/power8/memrchr.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/power8/memrchr.S b/sysdeps/powerpc/powerpc64/power8/memrchr.S
index fec76cf586..ebe4017968 100644
--- a/sysdeps/powerpc/powerpc64/power8/memrchr.S
+++ b/sysdeps/powerpc/powerpc64/power8/memrchr.S
@@ -332,5 +332,6 @@ L(loop_small):
blr
END (MEMRCHR)
+libc_hidden_def (__memrchr)
weak_alias (__memrchr, memrchr)
libc_hidden_builtin_def (memrchr)