From 880113d91ef4bb74b722d63bc2d3290e5afb5fbb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Jul 2010 21:12:59 -0700 Subject: [PATCH] Avoid compiling unneeded file in ld.so. --- ChangeLog | 5 +++++ sysdeps/x86_64/multiarch/strcmp-ssse3.S | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6603a56028..994655eaf5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-27 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file + for ld.so. + 2010-07-26 Roland McGrath [BZ #11840] diff --git a/sysdeps/x86_64/multiarch/strcmp-ssse3.S b/sysdeps/x86_64/multiarch/strcmp-ssse3.S index 98cecb8942..43b3f300b4 100644 --- a/sysdeps/x86_64/multiarch/strcmp-ssse3.S +++ b/sysdeps/x86_64/multiarch/strcmp-ssse3.S @@ -1,3 +1,5 @@ -#define USE_SSSE3 1 -#define STRCMP __strcmp_ssse3 -#include "../strcmp.S" +#ifndef NOT_IN_libc +# define USE_SSSE3 1 +# define STRCMP __strcmp_ssse3 +# include "../strcmp.S" +#endif