This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.12-106-g28c90b2
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Aug 2010 00:42:42 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.12-106-g28c90b2
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 28c90b2cf51d77c318831c79a62ff0bb3fd17042 (commit)
from 25244f174f4127800070d4bf2a4a08f28bfdd8b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=28c90b2cf51d77c318831c79a62ff0bb3fd17042
commit 28c90b2cf51d77c318831c79a62ff0bb3fd17042
Author: Ulrich Drepper <drepper@redhat.com>
Date: Sun Aug 15 17:42:12 2010 -0700
Use correct register for fourth parameter of x86-64 strncasecmp_l.
diff --git a/ChangeLog b/ChangeLog
index dd78abe..b8ac051 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-15 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
+ of strncasecmp_l.
+
2010-08-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S
index 685fec1..aeb8895 100644
--- a/sysdeps/x86_64/strcmp.S
+++ b/sysdeps/x86_64/strcmp.S
@@ -116,7 +116,7 @@ libc_hidden_def (__strcasecmp)
ENTRY2 (__strncasecmp)
movq __libc_tsd_LOCALE@gottpoff(%rip),%rax
- movq %fs:(%rax),%r10
+ movq %fs:(%rax),%rcx
// XXX 5 byte should be before the function
/* 5-byte NOP. */
@@ -163,9 +163,9 @@ END (BP_SYM (STRCMP))
/* We have to fall back on the C implementation for locales
with encodings not matching ASCII for single bytes. */
# if LOCALE_T___LOCALES != 0 || LC_CTYPE != 0
- movq LOCALE_T___LOCALES+LC_CTYPE*8(%r10), %rax
+ movq LOCALE_T___LOCALES+LC_CTYPE*8(%rcx), %rax
# else
- movq (%r10), %rax
+ movq (%rcx), %rax
# endif
testl $0, LOCALE_DATA_VALUES+_NL_CTYPE_NONASCII_CASE*SIZEOF_VALUES(%rax)
jne __strncasecmp_l_nonascii
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/x86_64/strcmp.S | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources