This is the mail archive of the glibc-bugs@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]

[Bug libc/12318] i686 glibc is miscompiled


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.


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