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/powerpc64/multiarch/memset-ppc64.S | |
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/powerpc64/multiarch/memset-ppc64.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S b/sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S index 65b3afe250..3601a77cd4 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S +++ b/sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S @@ -47,8 +47,7 @@ END_GEN_TB (__bzero_ppc,TB_TOCLESS) END_2(__memset_ppc) # undef libc_hidden_builtin_def -# define libc_hidden_builtin_def(name) \ - .globl __GI_memset; __GI_memset = __memset_ppc +# define libc_hidden_builtin_def(name) #endif /* Do not implement __bzero at powerpc64/memset.S. */ |