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 zack/testsuite-isomac updated. glibc-2.25-59-g9f5bb9b


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, zack/testsuite-isomac has been updated
       via  9f5bb9b5ce3a05e2c2972200035c65a6ea801b8a (commit)
      from  abefeff71c24d7c4016420f35f1f0bd56e1b1d04 (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=9f5bb9b5ce3a05e2c2972200035c65a6ea801b8a

commit 9f5bb9b5ce3a05e2c2972200035c65a6ea801b8a
Author: Zack Weinberg <zackw@panix.com>
Date:   Sat Feb 18 20:25:05 2017 -0500

    Second round of many-glibcs fixes.
    
    	* nptl/Makefile: Move tst-tls3 and tst-tls3-malloc to
    	tests-internal.
    	* sysdeps/powerpc/Makefile: Move test-get_hwcap and
    	test-get_hwcap-static to tests-internal.
    
    	* misc/sys/cdefs.h (__NTHNL): New macro.
    	* sysdeps/m68k/m680x0/fpu/bits/mathinline.h
    	(__m81_defun): Use __NTHNL to avoid errors with GCC 6.
    
    	* sysdeps/generic/math_private.h
    	* sysdeps/ia64/fpu/math_ldbl.h
    	* sysdeps/ieee754/ldbl-128/math_ldbl.h
    	* sysdeps/ieee754/ldbl-96/math_ldbl.h
    	Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
    	LITTLE_ENDIAN.  Include endian.h if necessary.
    
    	* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include sys/auxv.h.

diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index e5fe4f8..39c91e1 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -55,15 +55,18 @@
 #  define __THROW	__attribute__ ((__nothrow__ __LEAF))
 #  define __THROWNL	__attribute__ ((__nothrow__))
 #  define __NTH(fct)	__attribute__ ((__nothrow__ __LEAF)) fct
+#  define __NTHNL(fct)  __attribute__ ((__nothrow__)) fct
 # else
 #  if defined __cplusplus && __GNUC_PREREQ (2,8)
 #   define __THROW	throw ()
 #   define __THROWNL	throw ()
 #   define __NTH(fct)	__LEAF_ATTR fct throw ()
+#   define __NTHNL(fct) fct throw ()
 #  else
 #   define __THROW
 #   define __THROWNL
 #   define __NTH(fct)	fct
+#   define __NTHNL(fct) fct
 #  endif
 # endif
 
diff --git a/nptl/Makefile b/nptl/Makefile
index 958819b..edffb66 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -356,9 +356,8 @@ tests += tst-cancelx2 tst-cancelx3 tst-cancelx4 tst-cancelx5 \
 	 tst-cleanupx0 tst-cleanupx1 tst-cleanupx2 tst-cleanupx3 tst-cleanupx4 \
 	 tst-oncex3 tst-oncex4
 ifeq ($(build-shared),yes)
-tests += tst-atfork2 tst-tls3 tst-tls3-malloc tst-tls4 tst-_res1 \
-	 tst-fini1
-tests-internal += tst-tls5 tst-stackguard1
+tests += tst-atfork2 tst-tls4 tst-_res1 tst-fini1
+tests-internal += tst-tls3 tst-tls3-malloc tst-tls5 tst-stackguard1
 tests-nolibpthread += tst-fini1
 ifeq ($(have-z-execstack),yes)
 tests += tst-execstack
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h
index c0d4e3d..be65b94 100644
--- a/sysdeps/generic/math_private.h
+++ b/sysdeps/generic/math_private.h
@@ -37,7 +37,7 @@
 /* A union which permits us to convert between a double and two 32 bit
    ints.  */
 
-#if __FLOAT_WORD_ORDER == BIG_ENDIAN
+#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
 
 typedef union
 {
@@ -52,7 +52,7 @@ typedef union
 
 #endif
 
-#if __FLOAT_WORD_ORDER == LITTLE_ENDIAN
+#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
 
 typedef union
 {
diff --git a/sysdeps/ia64/fpu/math_ldbl.h b/sysdeps/ia64/fpu/math_ldbl.h
index 7c6a624..748e9af 100644
--- a/sysdeps/ia64/fpu/math_ldbl.h
+++ b/sysdeps/ia64/fpu/math_ldbl.h
@@ -2,11 +2,12 @@
 #define _MATH_LDBL_H_ 1
 
 #include <stdint.h>
+#include <endian.h>
 
 /* A union which permits us to convert between a long double and
    three 32 bit ints.  */
 
-#if __FLOAT_WORD_ORDER == BIG_ENDIAN
+#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
 
 typedef union
 {
@@ -23,7 +24,7 @@ typedef union
 
 #endif
 
-#if __FLOAT_WORD_ORDER == LITTLE_ENDIAN
+#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
 
 typedef union
 {
diff --git a/sysdeps/ieee754/ldbl-128/math_ldbl.h b/sysdeps/ieee754/ldbl-128/math_ldbl.h
index 7804c2d..6ea2c38 100644
--- a/sysdeps/ieee754/ldbl-128/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-128/math_ldbl.h
@@ -2,11 +2,12 @@
 #define _MATH_LDBL_H_ 1
 
 #include <stdint.h>
+#include <endian.h>
 
 /* A union which permits us to convert between a long double and
    four 32 bit ints or two 64 bit ints.  */
 
-#if __FLOAT_WORD_ORDER == BIG_ENDIAN
+#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
 
 typedef union
 {
@@ -24,7 +25,7 @@ typedef union
 
 #endif
 
-#if __FLOAT_WORD_ORDER == LITTLE_ENDIAN
+#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
 
 typedef union
 {
diff --git a/sysdeps/ieee754/ldbl-96/math_ldbl.h b/sysdeps/ieee754/ldbl-96/math_ldbl.h
index e4ed871..74fbad6 100644
--- a/sysdeps/ieee754/ldbl-96/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-96/math_ldbl.h
@@ -2,11 +2,12 @@
 #define _MATH_LDBL_H_ 1
 
 #include <stdint.h>
+#include <endian.h>
 
 /* A union which permits us to convert between a long double and
    three 32 bit ints.  */
 
-#if __FLOAT_WORD_ORDER == BIG_ENDIAN
+#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
 
 typedef union
 {
@@ -22,7 +23,7 @@ typedef union
 
 #endif
 
-#if __FLOAT_WORD_ORDER == LITTLE_ENDIAN
+#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
 
 typedef union
 {
diff --git a/sysdeps/m68k/m680x0/fpu/bits/mathinline.h b/sysdeps/m68k/m680x0/fpu/bits/mathinline.h
index c2dca31..7c45761 100644
--- a/sysdeps/m68k/m680x0/fpu/bits/mathinline.h
+++ b/sysdeps/m68k/m680x0/fpu/bits/mathinline.h
@@ -117,14 +117,16 @@ __NTH (__signbitl (long double __x))
 # define __m81_inline		static __inline
 #else
 # define __m81_u(x)		x
-# define __m81_inline __MATH_INLINE
+# define __m81_inline		__MATH_INLINE
 # define __M81_MATH_INLINES	1
 #endif
 
-/* Define a const math function.  */
+/* Define a const math function.
+   Note: GCC 6 objects to __attribute__((__leaf__)) on functions whose
+   bodies are visible.  */
 #define __m81_defun(rettype, func, args)				      \
   __m81_inline rettype __attribute__((__const__))			      \
-  __NTH (__m81_u(func) args)
+  __NTHNL (__m81_u(func) args)
 
 /* Define the three variants of a math function that has a direct
    implementation in the m68k fpu.  FUNC is the name for C (which will be
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index 099fbf6..aafa226 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -27,7 +27,7 @@ gen-as-const-headers += locale-defines.sym
 endif
 
 ifeq ($(subdir),nptl)
-tests += test-get_hwcap test-get_hwcap-static
+tests-internal += test-get_hwcap test-get_hwcap-static
 tests-static += test-get_hwcap-static
 endif
 
diff --git a/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c b/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
index c172cf2..4e3f90d 100644
--- a/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
+++ b/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
@@ -27,6 +27,7 @@
 #include <link.h>
 #include <elf.h>
 #include <fpu_control.h>
+#include <sys/auxv.h>
 
 static ucontext_t ctx[3];
 

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

Summary of changes:
 misc/sys/cdefs.h                           |    3 +++
 nptl/Makefile                              |    5 ++---
 sysdeps/generic/math_private.h             |    4 ++--
 sysdeps/ia64/fpu/math_ldbl.h               |    5 +++--
 sysdeps/ieee754/ldbl-128/math_ldbl.h       |    5 +++--
 sysdeps/ieee754/ldbl-96/math_ldbl.h        |    5 +++--
 sysdeps/m68k/m680x0/fpu/bits/mathinline.h  |    8 +++++---
 sysdeps/powerpc/Makefile                   |    2 +-
 sysdeps/powerpc/fpu/tst-setcontext-fpscr.c |    1 +
 9 files changed, 23 insertions(+), 15 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]