diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-05-02 12:00:36 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-05-05 13:30:16 -0500 |
commit | 19c4bec0f43599eecc2f32de96ae179cd7d64053 (patch) | |
tree | 26047ede88c1c4231207e887b5ee88de9c60faff /sysdeps/powerpc/powerpc32 | |
parent | 7776e6692fe19553dafcb918df467aed522eea8d (diff) | |
download | glibc-19c4bec0f43599eecc2f32de96ae179cd7d64053.tar glibc-19c4bec0f43599eecc2f32de96ae179cd7d64053.tar.gz glibc-19c4bec0f43599eecc2f32de96ae179cd7d64053.tar.bz2 glibc-19c4bec0f43599eecc2f32de96ae179cd7d64053.zip |
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')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c | 3 |
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; |