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.20-43-gea58f20


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  ea58f202931fdf15450e54859aaea675efb93588 (commit)
      from  69eb9a183c19e8739065e430758e4d3a2c5e4f1a (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=ea58f202931fdf15450e54859aaea675efb93588

commit ea58f202931fdf15450e54859aaea675efb93588
Author: Will Newton <will.newton@linaro.org>
Date:   Thu Sep 11 17:47:53 2014 +0100

    ARM: Don't define _SYS_AUXV_H in sysdep.h
    
    sysdep.h was defining _SYS_AUXV_H in order to avoid an include guard check
    in hwcap.h. Unfortunately it didn't undefine it so it could leak out into
    code and caused a build failure with -Wimplicit-function-declaration
    building tst-auxv on ARM.
    
    ChangeLog:
    
    2014-09-23  Will Newton  <will.newton@linaro.org>
    
    	* sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
    	_LINUX_ARM_SYSDEP_H include guard too.
    	* sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
    	define.

diff --git a/ChangeLog b/ChangeLog
index eaa16ce..7fa614c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-09-23  Will Newton  <will.newton@linaro.org>
+
+	* sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
+	_LINUX_ARM_SYSDEP_H include guard too.
+	* sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
+	define.
+
 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
 
 	* sysdeps/unix/sysv/linux/eventfd.c:
diff --git a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h
index cd8f93c..2ddc5a6 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _SYS_AUXV_H
+#if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H)
 # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h
index 52e27d0..91bdca5 100644
--- a/sysdeps/unix/sysv/linux/arm/sysdep.h
+++ b/sysdeps/unix/sysv/linux/arm/sysdep.h
@@ -40,7 +40,6 @@
 #undef SYS_ify
 #define SYS_ify(syscall_name)	(__NR_##syscall_name)
 
-#define _SYS_AUXV_H 1
 #include <bits/hwcap.h>
 
 #ifdef __ASSEMBLER__

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

Summary of changes:
 ChangeLog                                |    7 +++++++
 sysdeps/unix/sysv/linux/arm/bits/hwcap.h |    2 +-
 sysdeps/unix/sysv/linux/arm/sysdep.h     |    1 -
 3 files changed, 8 insertions(+), 2 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]