This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Don't define str*cmp-ssse3.S in ld.so


Hi,

There is no need to define define str*cmp-ssse3.S in ld.so. They aren't
used at all.


H.J.
---
2009-08-19  H.J. Lu  <hongjiu.lu@intel.com>

	* sysdeps/x86_64/multiarch/strcmp-ssse3.S: Define only if
	NOT_IN_libc isn't defined.
	* sysdeps/x86_64/multiarch/strncmp-ssse3.S: Likewise.

diff --git a/sysdeps/x86_64/multiarch/strcmp-ssse3.S b/sysdeps/x86_64/multiarch/strcmp-ssse3.S
index 98cecb8..02110a8 100644
--- a/sysdeps/x86_64/multiarch/strcmp-ssse3.S
+++ b/sysdeps/x86_64/multiarch/strcmp-ssse3.S
@@ -1,3 +1,5 @@
+#ifndef NOT_IN_libc
 #define USE_SSSE3 1
 #define STRCMP __strcmp_ssse3
 #include "../strcmp.S"
+#endif
diff --git a/sysdeps/x86_64/multiarch/strncmp-ssse3.S b/sysdeps/x86_64/multiarch/strncmp-ssse3.S
index a320a3e..f3f9251 100644
--- a/sysdeps/x86_64/multiarch/strncmp-ssse3.S
+++ b/sysdeps/x86_64/multiarch/strncmp-ssse3.S
@@ -1,4 +1,6 @@
+#ifndef NOT_IN_libc
 #define USE_SSSE3 1
 #define STRCMP __strncmp_ssse3
 #define USE_AS_STRNCMP
 #include "../strcmp.S"
+#endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]