diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power8')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/memrchr.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/strchr.S | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/power8/memrchr.S b/sysdeps/powerpc/powerpc64/power8/memrchr.S index 54de6566bd..21a6a70cef 100644 --- a/sysdeps/powerpc/powerpc64/power8/memrchr.S +++ b/sysdeps/powerpc/powerpc64/power8/memrchr.S @@ -343,3 +343,4 @@ L(loop_small): END (MEMRCHR) weak_alias (__memrchr, memrchr) libc_hidden_builtin_def (memrchr) +libc_hidden_builtin_def (__memrchr) diff --git a/sysdeps/powerpc/powerpc64/power8/strchr.S b/sysdeps/powerpc/powerpc64/power8/strchr.S index c5e28d9c9e..df7fa88a27 100644 --- a/sysdeps/powerpc/powerpc64/power8/strchr.S +++ b/sysdeps/powerpc/powerpc64/power8/strchr.S @@ -371,7 +371,11 @@ L(end1): blr END (FUNC_NAME) -#ifndef USE_AS_STRCHRNUL +#ifdef USE_AS_STRCHRNUL +#ifndef STRCHRNUL +libc_hidden_builtin_def (__strchrnul) +#endif +#else weak_alias (strchr, index) libc_hidden_builtin_def (strchr) #endif |