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.19-840-g6c9578a


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  6c9578a24b5c4182d1c475a32a147478bc757bf3 (commit)
      from  05f3633da4f9df870d04dd77336e793746e57ed4 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6c9578a24b5c4182d1c475a32a147478bc757bf3

commit 6c9578a24b5c4182d1c475a32a147478bc757bf3
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Jul 31 12:46:14 2014 +0200

    Fix -Wundef warning for HAVE_IFUNC

diff --git a/ChangeLog b/ChangeLog
index 77bf70d..a32cd68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-07-31  Andreas Schwab  <schwab@suse.de>
+
+	* config.h.in (HAVE_IFUNC): Define to 0.
+	* rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
+	definedness.
+
 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
 
 	* sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
diff --git a/config.h.in b/config.h.in
index 97b5571..d612a04 100644
--- a/config.h.in
+++ b/config.h.in
@@ -194,8 +194,8 @@
 /* Define if the dynamic linker should consult an ld.so.cache file.  */
 #undef USE_LDCONFIG
 
-/* Define if STT_GNU_IFUNC support actually works.  */
-#undef HAVE_IFUNC
+/* Define to 1 if STT_GNU_IFUNC support actually works.  */
+#define HAVE_IFUNC 0
 
 /* Define if linux/fanotify.h is available.  */
 #undef HAVE_LINUX_FANOTIFY_H
diff --git a/rt/clock-compat.c b/rt/clock-compat.c
index 1ccc296..0a3ae40 100644
--- a/rt/clock-compat.c
+++ b/rt/clock-compat.c
@@ -27,7 +27,7 @@
 
 #include <time.h>
 
-#ifdef HAVE_IFUNC
+#if HAVE_IFUNC
 # define COMPAT_REDIRECT(name, proto, arglist)				      \
   __typeof (name) *name##_ifunc (void) asm (#name);			      \
   __typeof (name) *name##_ifunc (void)					      \

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

Summary of changes:
 ChangeLog         |    6 ++++++
 config.h.in       |    4 ++--
 rt/clock-compat.c |    2 +-
 3 files changed, 9 insertions(+), 3 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]