Compile {memcpy,strcmp}-sse2-unaligned.S only for libc
{memcpy,strcmp}-sse2-unaligned.S aren't needed in ld.so. * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile only for libc. * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
This commit is contained in:
parent
05a910f7b4
commit
3b8d2eb7f8
|
@ -1,3 +1,9 @@
|
||||||
|
2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
|
||||||
|
only for libc.
|
||||||
|
* sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
|
||||||
|
|
||||||
2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
|
2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
|
||||||
|
|
||||||
* string/string.h: (mempcpy): Redirect to __mempcpy_inline.
|
* string/string.h: (mempcpy): Redirect to __mempcpy_inline.
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
License along with the GNU C Library; if not, see
|
License along with the GNU C Library; if not, see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#if IS_IN (libc)
|
||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
|
||||||
#include "asm-syntax.h"
|
#include "asm-syntax.h"
|
||||||
|
@ -169,3 +171,5 @@ L(between_5_8):
|
||||||
movl %eax, -4(%rdi,%rdx)
|
movl %eax, -4(%rdi,%rdx)
|
||||||
jmp L(return)
|
jmp L(return)
|
||||||
END(__memcpy_sse2_unaligned)
|
END(__memcpy_sse2_unaligned)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
License along with the GNU C Library; if not, see
|
License along with the GNU C Library; if not, see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#if IS_IN (libc)
|
||||||
|
|
||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
|
|
||||||
ENTRY ( __strcmp_sse2_unaligned)
|
ENTRY ( __strcmp_sse2_unaligned)
|
||||||
|
@ -207,3 +209,5 @@ L(different):
|
||||||
subl %ecx, %eax
|
subl %ecx, %eax
|
||||||
ret
|
ret
|
||||||
END (__strcmp_sse2_unaligned)
|
END (__strcmp_sse2_unaligned)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue