aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-07-27 21:12:59 -0700
committerUlrich Drepper <drepper@redhat.com>2010-07-27 21:12:59 -0700
commit880113d91ef4bb74b722d63bc2d3290e5afb5fbb (patch)
treef40fbf5fff85b6a1fe4f952f48e84866ef8d019a
parent932ac045f0b3f57bf3c693920f4dac5009b8807e (diff)
downloadglibc-880113d91ef4bb74b722d63bc2d3290e5afb5fbb.zip
glibc-880113d91ef4bb74b722d63bc2d3290e5afb5fbb.tar.gz
glibc-880113d91ef4bb74b722d63bc2d3290e5afb5fbb.tar.bz2
Avoid compiling unneeded file in ld.so.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/multiarch/strcmp-ssse3.S8
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6603a56..994655e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-27 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
+ for ld.so.
+
2010-07-26 Roland McGrath <roland@redhat.com>
[BZ #11840]
diff --git a/sysdeps/x86_64/multiarch/strcmp-ssse3.S b/sysdeps/x86_64/multiarch/strcmp-ssse3.S
index 98cecb8..43b3f30 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