summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc32/power4
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-05-02 12:00:36 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-05-05 13:30:16 -0500
commit19c4bec0f43599eecc2f32de96ae179cd7d64053 (patch)
tree26047ede88c1c4231207e887b5ee88de9c60faff /sysdeps/powerpc/powerpc32/power4
parent7776e6692fe19553dafcb918df467aed522eea8d (diff)
downloadglibc-19c4bec0f43599eecc2f32de96ae179cd7d64053.tar.gz
PowerPC: ifunc improvement for internal calls
This patch changes de default symbol redirection for internal call of memcpy, memset, memchr, and strlen to the IFUNC resolved ones. The performance improvement is noticeable in algorithms that uses these symbols extensible, like the regex functions.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power4')
-rw-r--r--sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c b/sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
index 43c5652cb2..4bd6bb996b 100644
--- a/sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
+++ b/sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
@@ -25,8 +25,7 @@
#ifdef SHARED
# undef libc_hidden_builtin_def
-# define libc_hidden_builtin_def(name) \
- __hidden_ver1 (__memchr_ppc, __GI_memchr, __memchr_ppc);
+# define libc_hidden_builtin_def(name)
#endif
extern __typeof (memchr) __memchr_ppc attribute_hidden;