diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-04 12:27:00 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-04 12:27:18 -0700 |
commit | fc11ff8d0acebbf0802854156d45cb1d8bb7c079 (patch) | |
tree | f8cdc12b7c6a47541b3afcf1b26394de8cfd199f /sysdeps/sh/memusage.h | |
parent | 19f1a11e7ea2a5082bae9d9a079338c5658ba954 (diff) | |
download | glibc-fc11ff8d0acebbf0802854156d45cb1d8bb7c079.tar.gz glibc-fc11ff8d0acebbf0802854156d45cb1d8bb7c079.tar.xz glibc-fc11ff8d0acebbf0802854156d45cb1d8bb7c079.zip |
x86-64: Use IFUNC memcpy and mempcpy in libc.a
Since apply_irel is called before memcpy and mempcpy are called, we can use IFUNC memcpy and mempcpy in libc.a. * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED. (MEMPCPY_SYMBOL): Likewise. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include in libc.a. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise. * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a. (__hidden_ver1): Don't use in libc.a. * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S (__mempcpy): Don't create a weak alias in libc.a. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support libc.a. * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a. (__hidden_ver1): Don't use in libc.a.
Diffstat (limited to 'sysdeps/sh/memusage.h')
0 files changed, 0 insertions, 0 deletions