[Bug libc/12318] i686 glibc is miscompiled

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Tue Dec 14 19:03:00 GMT 2010


http://sourceware.org/bugzilla/show_bug.cgi?id=12318

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-14 15:52:48 UTC ---
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

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list