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-561-gdb7a548


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  db7a548d02a9a47e8592d67980ffd1faeab3e20f (commit)
      from  d08cdabdd096325a3296713c87672f213b05f5c6 (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=db7a548d02a9a47e8592d67980ffd1faeab3e20f

commit db7a548d02a9a47e8592d67980ffd1faeab3e20f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jun 22 22:53:01 2017 +0000

    Make float128_private.h work with generic ieee754.h.
    
    float128_private.h redefines ieee754.h identifiers ieee854_long_double
    and IEEE854_LONG_DOUBLE_BIAS to map them to identifiers from
    ieee754_float128.h.
    
    This causes problems when ieee754.h is included after
    float128_private.h and it's a version of ieee754.h that also defines
    those identifiers; specifically, sysdeps/ieee754/ieee754.h, which
    defines those identifiers for the x86 extended format.  This patch
    fixes this by ensuring an include of ieee754.h from float128_private.h
    before the redefinitions.
    
    Tested for x86_64 (in conjunction with float128 patches).
    
    	* sysdeps/ieee754/float128/float128_private.h: Include
    	<ieee754.h>.

diff --git a/ChangeLog b/ChangeLog
index cd88695..d1de210 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/ieee754/float128/float128_private.h: Include
+	<ieee754.h>.
+
 	* sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
 	typeof to argument passed to __builtin_types_compatible_p.
 	(min_of_type): Pass type argument, not x, to __EXPR_FLT128.
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index 1e00853..c8b153d 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -23,6 +23,10 @@
 #define HUGE_VALL HUGE_VAL_F128
 #include <math/mul_splitl.h>
 
+/* This must be included before the renames of types and macros from
+   it.  */
+#include <ieee754.h>
+
 /* Renames derived from math_private.h.  */
 #include <math_private.h>
 #include <ieee754_float128.h>

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

Summary of changes:
 ChangeLog                                   |    3 +++
 sysdeps/ieee754/float128/float128_private.h |    4 ++++
 2 files changed, 7 insertions(+), 0 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]