From 3b8d2eb7f8435c73692f55f95e9a0ef27015b6c3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 29 Jul 2015 03:41:58 -0700 Subject: 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. --- sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S') diff --git a/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S index c5450af25a..5693ba7395 100644 --- a/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S +++ b/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S @@ -16,6 +16,8 @@ License along with the GNU C Library; if not, see . */ +#if IS_IN (libc) + #include #include "asm-syntax.h" @@ -169,3 +171,5 @@ L(between_5_8): movl %eax, -4(%rdi,%rdx) jmp L(return) END(__memcpy_sse2_unaligned) + +#endif -- cgit 1.4.1