summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-27 07:43:03 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-09-27 07:43:03 -0700
commit31ed415328c1db05c4302c51120a906873c610ab (patch)
tree890295d838f97b6936eeb1262fbb19b262a92f21 /sysdeps
parentb7bfe116e6304da848759b69a6d713da3e93e936 (diff)
downloadglibc-31ed415328c1db05c4302c51120a906873c610ab.tar.gz
glibc-31ed415328c1db05c4302c51120a906873c610ab.tar.xz
glibc-31ed415328c1db05c4302c51120a906873c610ab.zip
Don't define x86-64 __strncmp_ssse3 in libc.a
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/multiarch/strncmp-ssse3.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/x86_64/multiarch/strncmp-ssse3.S b/sysdeps/x86_64/multiarch/strncmp-ssse3.S
index a320a3e949..96380a46be 100644
--- a/sysdeps/x86_64/multiarch/strncmp-ssse3.S
+++ b/sysdeps/x86_64/multiarch/strncmp-ssse3.S
@@ -1,4 +1,6 @@
-#define USE_SSSE3 1
-#define STRCMP __strncmp_ssse3
-#define USE_AS_STRNCMP
-#include "../strcmp.S"
+#ifdef SHARED
+# define USE_SSSE3 1
+# define STRCMP __strncmp_ssse3
+# define USE_AS_STRNCMP
+# include "../strcmp.S"
+#endif