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

GNU C Library master sources branch, master, updated. glibc-2.14-456-g0c92d8a


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  0c92d8a87a47ab3276b4591bd084001053c5af2d (commit)
       via  b43433460ba8c8265974aa929788e15077394f0d (commit)
      from  3871f58f065dac3917eb18220a479e9591769c8c (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=0c92d8a87a47ab3276b4591bd084001053c5af2d

commit 0c92d8a87a47ab3276b4591bd084001053c5af2d
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 28 11:45:12 2011 +0200

    Fix some warning nits

diff --git a/ChangeLog b/ChangeLog
index ec76080..943ff2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-10-28  Andreas Schwab  <schwab@redhat.com>
 
+	* sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
+	redefine if SHARED.
+	* sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
+
 	* sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
 	wide char related routines to wcsmbs subdir.
 
diff --git a/sysdeps/i386/i686/multiarch/strnlen-c.c b/sysdeps/i386/i686/multiarch/strnlen-c.c
index 567af2c..f02465d 100644
--- a/sysdeps/i386/i686/multiarch/strnlen-c.c
+++ b/sysdeps/i386/i686/multiarch/strnlen-c.c
@@ -1,6 +1,6 @@
-#ifndef NOT_IN_libc
-# define STRNLEN  __strnlen_ia32
-# undef libc_hidden_builtin_def
+#define STRNLEN  __strnlen_ia32
+#ifdef SHARED
+# undef libc_hidden_def
 # define libc_hidden_def(name)  \
     __hidden_ver1 (__strnlen_ia32, __GI_strnlen, __strnlen_ia32);
 #endif
diff --git a/sysdeps/i386/i686/multiarch/wcscmp-c.c b/sysdeps/i386/i686/multiarch/wcscmp-c.c
index 9592455..53cc4e9 100644
--- a/sysdeps/i386/i686/multiarch/wcscmp-c.c
+++ b/sysdeps/i386/i686/multiarch/wcscmp-c.c
@@ -1,7 +1,5 @@
-#ifndef  NOT_IN_libc
-
-# define WCSCMP __wcscmp_ia32
-
+#define WCSCMP __wcscmp_ia32
+#ifdef SHARED
 # undef libc_hidden_def
 # define libc_hidden_def(name) \
   __hidden_ver1 (__wcscmp_ia32, __GI_wcscmp, __wcscmp_ia32);

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b43433460ba8c8265974aa929788e15077394f0d

commit b43433460ba8c8265974aa929788e15077394f0d
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 28 11:39:07 2011 +0200

    Move wide char related routines to wcsmbs subdir

diff --git a/ChangeLog b/ChangeLog
index 8526a41..ec76080 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-28  Andreas Schwab  <schwab@redhat.com>
+
+	* sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
+	wide char related routines to wcsmbs subdir.
+
 2011-10-27  Andreas Schwab  <schwab@redhat.com>
 
 	[BZ #13344]
diff --git a/sysdeps/i386/i686/multiarch/Makefile b/sysdeps/i386/i686/multiarch/Makefile
index 5f18538..42bcd3c 100644
--- a/sysdeps/i386/i686/multiarch/Makefile
+++ b/sysdeps/i386/i686/multiarch/Makefile
@@ -15,11 +15,10 @@ sysdep_routines += bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 \
 		   strncpy-sse2 stpcpy-sse2 stpncpy-sse2 strcat-ssse3 \
 		   strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c \
 		   strchr-sse2 strrchr-sse2 strchr-sse2-bsf strrchr-sse2-bsf \
-		   wcscmp-sse2 wcscmp-c memchr-sse2 memchr-sse2-bsf \
+		   memchr-sse2 memchr-sse2-bsf \
 		   memrchr-sse2 memrchr-sse2-bsf memrchr-c \
 		   rawmemchr-sse2 rawmemchr-sse2-bsf \
-		   strnlen-sse2 strnlen-c wcslen-sse2 wcslen-c \
-		   wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
+		   strnlen-sse2 strnlen-c
 ifeq (yes,$(config-cflags-sse4))
 sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
 CFLAGS-varshift.c += -msse4
@@ -32,6 +31,11 @@ CFLAGS-strcasestr-nonascii.c += -msse4
 endif
 endif
 
+ifeq ($(subdir),wcsmbs)
+sysdep_routines += wcscmp-sse2 wcscmp-c wcslen-sse2 wcslen-c \
+		   wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
+endif
+
 ifeq (mathyes,$(subdir)$(config-cflags-avx))
 libm-sysdep_routines += s_fma-fma s_fmaf-fma
 CFLAGS-s_fma-fma.c += -mavx -mfpmath=sse

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                               |    9 +++++++++
 sysdeps/i386/i686/multiarch/Makefile    |   10 +++++++---
 sysdeps/i386/i686/multiarch/strnlen-c.c |    6 +++---
 sysdeps/i386/i686/multiarch/wcscmp-c.c  |    6 ++----
 4 files changed, 21 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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