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.25-442-gb497112


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  b4971123e9e681126cb8eaae6d5de56be84c9e98 (commit)
       via  65b6d8b79c20bbf83209c6a23645cf5422170e5d (commit)
      from  6b6710e55b1040ec0eed6ce2eba38c630429b5b4 (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=b4971123e9e681126cb8eaae6d5de56be84c9e98

commit b4971123e9e681126cb8eaae6d5de56be84c9e98
Author: Zack Weinberg <zackw@panix.com>
Date:   Fri Jun 9 09:37:55 2017 -0400

    Remove bare use of __attribute__ in include/errno.h.
    
    This is just a style fix; we always prefer the shorthand macros over
    bare uses of __attribute__, even in private headers.
    
    	* include/errno.h (__errno_location): Use __attribute_const__
    	instead of bare __attribute__.

diff --git a/ChangeLog b/ChangeLog
index 6536eb8..bb61911 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-06-09  Zack Weinberg  <zackw@panix.com>
 
+	* include/errno.h (__errno_location): Use __attribute_const__
+	instead of bare __attribute__.
+
+2017-06-09  Zack Weinberg  <zackw@panix.com>
+
 	* Makeconfig (dl-tunable-list.h): Generate using a stamp file.
 	(common-generated): Add libc-modules.h and libc-modules.stmp in a
 	more appropriate location. Also add dl-tunable-list.h and
diff --git a/include/errno.h b/include/errno.h
index 73fc32e..f140631 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -39,7 +39,7 @@ extern __thread int errno attribute_tls_model_ie;
 # define __set_errno(val) (errno = (val))
 
 # ifndef __ASSEMBLER__
-extern int *__errno_location (void) __THROW __attribute__ ((__const__))
+extern int *__errno_location (void) __THROW __attribute_const__
 #  if RTLD_PRIVATE_ERRNO
      attribute_hidden
 #  endif

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=65b6d8b79c20bbf83209c6a23645cf5422170e5d

commit 65b6d8b79c20bbf83209c6a23645cf5422170e5d
Author: Zack Weinberg <zackw@panix.com>
Date:   Fri Jun 9 09:32:43 2017 -0400

    Polish the treatment of dl-tunable-list.h in Makeconfig.
    
    Like basically all before-compile headers, dl-tunable-list.h should be
    generated using a stamp file to minimize unnecessary rebuilding; it
    wasn't being added to common-generated, so it wouldn't get cleaned up;
    and it was in between the rules for libc-modules.h/.stmp and their own
    addition to common-generated.
    
    	* Makeconfig (dl-tunable-list.h): Generate using a stamp file.
    	(common-generated): Add libc-modules.h and libc-modules.stmp in a
    	more appropriate location. Also add dl-tunable-list.h and
    	dl-tunable-list.stmp.

diff --git a/ChangeLog b/ChangeLog
index f8f4162..6536eb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-06-09  Zack Weinberg  <zackw@panix.com>
+
+	* Makeconfig (dl-tunable-list.h): Generate using a stamp file.
+	(common-generated): Add libc-modules.h and libc-modules.stmp in a
+	more appropriate location. Also add dl-tunable-list.h and
+	dl-tunable-list.stmp.
+
 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
diff --git a/Makeconfig b/Makeconfig
index e4eda4b..80aed2a 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1107,6 +1107,7 @@ postclean-generated += soversions.mk soversions.i \
 		       shlib-versions.v shlib-versions.v.i
 
 before-compile += $(common-objpfx)libc-modules.h
+common-generated += libc-modules.h libc-modules.stmp
 ifeq ($(soversions.mk-done),t)
 # Generate a header with macro definitions for use with the IS_IN macro.
 # These are the possible values for the MODULE_NAME macro defined when building
@@ -1125,17 +1126,19 @@ endif
 # glibc.
 ifneq (no,$(have-tunables))
 before-compile += $(common-objpfx)dl-tunable-list.h
-
-$(common-objpfx)dl-tunable-list.h: $(..)scripts/gen-tunables.awk \
-				   $(..)elf/dl-tunables.list \
-				   $(wildcard $(subdirs:%=$(..)%/dl-tunables.list)) \
-				   $(wildcard $(sysdirs:%=%/dl-tunables.list))
-	$(AWK) -f $^ > $@.tmp
-	mv $@.tmp $@
+common-generated += dl-tunable-list.h dl-tunable-list.stmp
+
+$(common-objpfx)dl-tunable-list.h: $(common-objpfx)dl-tunable-list.stmp; @:
+$(common-objpfx)dl-tunable-list.stmp: \
+		$(..)scripts/gen-tunables.awk \
+		$(..)elf/dl-tunables.list \
+		$(wildcard $(subdirs:%=$(..)%/dl-tunables.list)) \
+		$(wildcard $(sysdirs:%=%/dl-tunables.list))
+	$(AWK) -f $^ > ${@:stmp=T}
+	$(move-if-change) ${@:stmp=T} ${@:stmp=h}
+	touch $@
 endif
 
-common-generated += libc-modules.h libc-modules.stmp
-
 # The name under which the run-time dynamic linker is installed.
 # We are currently going for the convention that `/lib/ld.so.1'
 # names the SVR4/ELF ABI-compliant dynamic linker.

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

Summary of changes:
 ChangeLog       |   12 ++++++++++++
 Makeconfig      |   21 ++++++++++++---------
 include/errno.h |    2 +-
 3 files changed, 25 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]