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.26.9000-883-gbd6ea9e


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  bd6ea9edd1708c7b0166af685a676b91e5b5950d (commit)
      from  faec63238fc58d7c055aa2394d2500e20565dbbf (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=bd6ea9edd1708c7b0166af685a676b91e5b5950d

commit bd6ea9edd1708c7b0166af685a676b91e5b5950d
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 30 19:15:21 2017 +0000

    Use libm_alias macros in m68k llrint functions.
    
    Most m68k libm functions share code via sources for one function
    including those for another function or type, in a way that will
    require significant changes to create function aliases in a way
    friendly to adding _FloatN / _FloatNx aliases.
    
    The llrint function implementations, however, use a conventional
    separate implementation for each floating-point type.  Thus preparing
    them for _FloatN / _FloatNx aliases is just a matter of changing them
    to include the appropriate headers and use the appropriate macros,
    which this patch does.  The llrintl changes aren't strictly required,
    since m68k long double does not meet the criteria for a _FloatN /
    _FloatNx type, but are included anyway to keep consistency between the
    implementations for the three types.
    
    Tested with build-many-glibcs.py that installed stripped shared
    libraries for m68k-linux-gnu are unchanged by the patch.
    
    	* sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
    	<libm-alias-double.h>.
    	(llrint): Define using libm_alias_double.
    	* sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
    	<libm-alias-float.h>.
    	(llrintf): Define using libm_alias_float.
    	* sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
    	<libm-alias-ldouble.h>.
    	(llrintl): Define using libm_alias_ldouble.

diff --git a/ChangeLog b/ChangeLog
index d2aaf5f..8c042b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
+	<libm-alias-double.h>.
+	(llrint): Define using libm_alias_double.
+	* sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
+	<libm-alias-float.h>.
+	(llrintf): Define using libm_alias_float.
+	* sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
+	<libm-alias-ldouble.h>.
+	(llrintl): Define using libm_alias_ldouble.
+
 	* sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
 	declare_mgen_alias instead of weak_alias.
 	* sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
diff --git a/sysdeps/m68k/m680x0/fpu/s_llrint.c b/sysdeps/m68k/m680x0/fpu/s_llrint.c
index bf80884..218b745 100644
--- a/sysdeps/m68k/m680x0/fpu/s_llrint.c
+++ b/sysdeps/m68k/m680x0/fpu/s_llrint.c
@@ -20,6 +20,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 #include "mathimpl.h"
 
 long long int
@@ -72,4 +73,4 @@ __llrint (double x)
   return result;
 }
 
-weak_alias (__llrint, llrint)
+libm_alias_double (__llrint, llrint)
diff --git a/sysdeps/m68k/m680x0/fpu/s_llrintf.c b/sysdeps/m68k/m680x0/fpu/s_llrintf.c
index 3f4eeb4..dfcd47d 100644
--- a/sysdeps/m68k/m680x0/fpu/s_llrintf.c
+++ b/sysdeps/m68k/m680x0/fpu/s_llrintf.c
@@ -20,6 +20,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-float.h>
 #include "mathimpl.h"
 
 long long int
@@ -62,4 +63,4 @@ __llrintf (float x)
   return result;
 }
 
-weak_alias (__llrintf, llrintf)
+libm_alias_float (__llrint, llrint)
diff --git a/sysdeps/m68k/m680x0/fpu/s_llrintl.c b/sysdeps/m68k/m680x0/fpu/s_llrintl.c
index 69e27b1..83b1d1f 100644
--- a/sysdeps/m68k/m680x0/fpu/s_llrintl.c
+++ b/sysdeps/m68k/m680x0/fpu/s_llrintl.c
@@ -20,6 +20,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-ldouble.h>
 #include "mathimpl.h"
 
 long long int
@@ -61,4 +62,4 @@ __llrintl (long double x)
   return result;
 }
 
-weak_alias (__llrintl, llrintl)
+libm_alias_ldouble (__llrint, llrint)

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

Summary of changes:
 ChangeLog                           |   10 ++++++++++
 sysdeps/m68k/m680x0/fpu/s_llrint.c  |    3 ++-
 sysdeps/m68k/m680x0/fpu/s_llrintf.c |    3 ++-
 sysdeps/m68k/m680x0/fpu/s_llrintl.c |    3 ++-
 4 files changed, 16 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]