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: PR libc/12318: i686 glibc is miscompiled


Hi,

This patch fixes a typo.

H.J.
--
2010-12-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR libc/12318
	* sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Fix a typo.

diff --git a/sysdeps/i386/i686/multiarch/strcmp.S b/sysdeps/i386/i686/multiarch/strcmp.S
index 8724594..b08fd08 100644
--- a/sysdeps/i386/i686/multiarch/strcmp.S
+++ b/sysdeps/i386/i686/multiarch/strcmp.S
@@ -64,7 +64,7 @@ ENTRY(STRCMP)
 	leal	__STRCMP_SSSE3@GOTOFF(%edx), %eax
 	testl	$bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features@GOTOFF(%edx)
 	jnz	2f
-	leal	__STRCMP_IA32@GOTOFF(%edx), %ecx
+	leal	__STRCMP_IA32@GOTOFF(%edx), %eax
 2:	ret
 END(STRCMP)
 # else


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