This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: PR libc/12318: i686 glibc is miscompiled
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 14 Dec 2010 08:04:20 -0800
- Subject: PATCH: PR libc/12318: i686 glibc is miscompiled
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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