diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-18 17:01:06 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-03-26 09:05:19 -0400 |
commit | f66704a937db50bbd78acc5c29f569b4c8e35d19 (patch) | |
tree | 92d261f99ff3346bffb3a61f6e788fe0daf6093e /sysdeps/powerpc/powerpc64 | |
parent | 9ea49e16c79bd2acd0d0648ca0163f26dd1c3dae (diff) | |
download | glibc-f66704a937db50bbd78acc5c29f569b4c8e35d19.tar.gz |
WIP finer-grained, more aggressive local PLT call checkzack/wip-check-localplt-2
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/memrchr.c | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strchrnul.c | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power7/memrchr.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/memrchr.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/strchr.S | 6 |
5 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/memrchr.c b/sysdeps/powerpc/powerpc64/multiarch/memrchr.c index 48be9515e4..973c800981 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/memrchr.c +++ b/sysdeps/powerpc/powerpc64/multiarch/memrchr.c @@ -33,7 +33,7 @@ libc_ifunc (__memrchr, (hwcap & PPC_FEATURE_HAS_VSX) ? __memrchr_power7 : __memrchr_ppc); - +libc_hidden_def (__memrchr) weak_alias (__memrchr, memrchr) #else #include <string/memrchr.c> diff --git a/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c b/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c index ead31f791c..fe6aeb4a8b 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c +++ b/sysdeps/powerpc/powerpc64/multiarch/strchrnul.c @@ -33,7 +33,7 @@ libc_ifunc (__strchrnul, (hwcap & PPC_FEATURE_HAS_VSX) ? __strchrnul_power7 : __strchrnul_ppc); - +libc_hidden_def (__strchrnul) weak_alias (__strchrnul, strchrnul) #else #include <string/strchrnul.c> diff --git a/sysdeps/powerpc/powerpc64/power7/memrchr.S b/sysdeps/powerpc/powerpc64/power7/memrchr.S index 583d513c4c..ea88825d07 100644 --- a/sysdeps/powerpc/powerpc64/power7/memrchr.S +++ b/sysdeps/powerpc/powerpc64/power7/memrchr.S @@ -199,3 +199,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/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 |