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-497-ga1132b5


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  a1132b5e56fe8aaa148ebd249034181863857d60 (commit)
      from  f275f64e7e97fcfe31280aabd0d64591c90bbe18 (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=a1132b5e56fe8aaa148ebd249034181863857d60

commit a1132b5e56fe8aaa148ebd249034181863857d60
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Oct 3 17:47:35 2017 +0000

    Use libm_alias_double for more dbl-64 functions.
    
    This patch makes more dbl-64 functions use libm_alias_double to define
    function aliases.  Specifically, it makes the change for functions
    with dbl-64/wordsize-64 versions, changing both the dbl-64 and
    dbl-64/wordsize-64 versions and removing the ldbl-opt wrappers.
    Functions are excluded from this patch if there are complications
    because of versions of those functions also present in libc, or
    architecture-specific wrappers round these files.
    
    Tested for x86_64, and with build-many-glibcs.py.  Installed stripped
    shared libraries are unchanged except for alpha (where increased use
    of dbl-64/wordsize-64 files, where previously ldbl-opt files that
    wrapped dbl-64 files were used, was expected to result in different,
    better code).
    
    	* sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
    	(ceil): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
    	(floor): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_llround.c: Include
    	<libm-alias-double.h>.
    	(llround): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_lround.c: Include
    	<libm-alias-double.h>.
    	(lround): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
    	<libm-alias-double.h>.
    	(nearbyint): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_remquo.c: Include
    	<libm-alias-double.h>.
    	(remquo): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
    	(rint): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
    	(round): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
    	(trunc): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
    	<libm-alias-double.h>.
    	(ceil): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
    	<libm-alias-double.h>.
    	(floor): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
    	<libm-alias-double.h>.
    	(llround): Define using libm_alias_double.
    	[_LP64] (lround): Likewise.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
    	<libm-alias-double.h>.
    	[!_LP64] (lround): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
    	<libm-alias-double.h>.
    	(nearbyint): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
    	<libm-alias-double.h>.
    	(remquo): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
    	<libm-alias-double.h>.
    	(rint): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
    	<libm-alias-double.h>.
    	(round): Define using libm_alias_double.
    	* sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
    	<libm-alias-double.h>.
    	(trunc): Define using libm_alias_double.
    	* sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
    	* sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
    	* sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.

diff --git a/ChangeLog b/ChangeLog
index 58aea77..3958723 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,65 @@
+2017-10-03  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
+	(ceil): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
+	(floor): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_llround.c: Include
+	<libm-alias-double.h>.
+	(llround): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_lround.c: Include
+	<libm-alias-double.h>.
+	(lround): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
+	<libm-alias-double.h>.
+	(nearbyint): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_remquo.c: Include
+	<libm-alias-double.h>.
+	(remquo): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
+	(rint): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
+	(round): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
+	(trunc): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
+	<libm-alias-double.h>.
+	(ceil): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
+	<libm-alias-double.h>.
+	(floor): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
+	<libm-alias-double.h>.
+	(llround): Define using libm_alias_double.
+	[_LP64] (lround): Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
+	<libm-alias-double.h>.
+	[!_LP64] (lround): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
+	<libm-alias-double.h>.
+	(nearbyint): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
+	<libm-alias-double.h>.
+	(remquo): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
+	<libm-alias-double.h>.
+	(rint): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
+	<libm-alias-double.h>.
+	(round): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
+	<libm-alias-double.h>.
+	(trunc): Define using libm_alias_double.
+	* sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
+	* sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
+	* sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
+
 2017-10-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
 	* math/w_remainder.c: New file.
diff --git a/sysdeps/ieee754/dbl-64/s_ceil.c b/sysdeps/ieee754/dbl-64/s_ceil.c
index 36f5abe..5a7434c 100644
--- a/sysdeps/ieee754/dbl-64/s_ceil.c
+++ b/sysdeps/ieee754/dbl-64/s_ceil.c
@@ -19,6 +19,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 double
 __ceil (double x)
@@ -81,9 +82,5 @@ __ceil (double x)
   return x;
 }
 #ifndef __ceil
-weak_alias (__ceil, ceil)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__ceil, __ceill)
-weak_alias (__ceil, ceill)
-# endif
+libm_alias_double (__ceil, ceil)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/s_floor.c b/sysdeps/ieee754/dbl-64/s_floor.c
index e80bc9e..f27c6f3 100644
--- a/sysdeps/ieee754/dbl-64/s_floor.c
+++ b/sysdeps/ieee754/dbl-64/s_floor.c
@@ -19,6 +19,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 double
 __floor (double x)
@@ -81,9 +82,5 @@ __floor (double x)
   return x;
 }
 #ifndef __floor
-weak_alias (__floor, floor)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__floor, __floorl)
-weak_alias (__floor, floorl)
-# endif
+libm_alias_double (__floor, floor)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/s_llround.c b/sysdeps/ieee754/dbl-64/s_llround.c
index 4995c18..0fa758f 100644
--- a/sysdeps/ieee754/dbl-64/s_llround.c
+++ b/sysdeps/ieee754/dbl-64/s_llround.c
@@ -22,6 +22,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 #include <fix-fp-int-convert-overflow.h>
 
 
@@ -84,8 +85,4 @@ __llround (double x)
   return sign * result;
 }
 
-weak_alias (__llround, llround)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__llround, __llroundl)
-weak_alias (__llround, llroundl)
-#endif
+libm_alias_double (__llround, llround)
diff --git a/sysdeps/ieee754/dbl-64/s_lround.c b/sysdeps/ieee754/dbl-64/s_lround.c
index 1a267d8..2e841ae 100644
--- a/sysdeps/ieee754/dbl-64/s_lround.c
+++ b/sysdeps/ieee754/dbl-64/s_lround.c
@@ -22,6 +22,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 #include <fix-fp-int-convert-overflow.h>
 
 
@@ -106,8 +107,4 @@ __lround (double x)
   return sign * result;
 }
 
-weak_alias (__lround, lround)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__lround, __lroundl)
-weak_alias (__lround, lroundl)
-#endif
+libm_alias_double (__lround, lround)
diff --git a/sysdeps/ieee754/dbl-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/s_nearbyint.c
index 6e3f831..94d193d 100644
--- a/sysdeps/ieee754/dbl-64/s_nearbyint.c
+++ b/sysdeps/ieee754/dbl-64/s_nearbyint.c
@@ -27,6 +27,7 @@ static char rcsid[] = "$NetBSD: s_rint.c,v 1.8 1995/05/10 20:48:04 jtc Exp $";
 #include <fenv.h>
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 static const double
   TWO52[2] = {
@@ -71,8 +72,4 @@ __nearbyint (double x)
   libc_fesetenv (&env);
   return t;
 }
-weak_alias (__nearbyint, nearbyint)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__nearbyint, __nearbyintl)
-weak_alias (__nearbyint, nearbyintl)
-#endif
+libm_alias_double (__nearbyint, nearbyint)
diff --git a/sysdeps/ieee754/dbl-64/s_remquo.c b/sysdeps/ieee754/dbl-64/s_remquo.c
index 4ab764d..f2dbe78 100644
--- a/sysdeps/ieee754/dbl-64/s_remquo.c
+++ b/sysdeps/ieee754/dbl-64/s_remquo.c
@@ -20,6 +20,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 
 static const double zero = 0.0;
@@ -108,8 +109,4 @@ __remquo (double x, double y, int *quo)
     x = -x;
   return x;
 }
-weak_alias (__remquo, remquo)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__remquo, __remquol)
-weak_alias (__remquo, remquol)
-#endif
+libm_alias_double (__remquo, remquo)
diff --git a/sysdeps/ieee754/dbl-64/s_rint.c b/sysdeps/ieee754/dbl-64/s_rint.c
index a9c0d27..cb0f5ca 100644
--- a/sysdeps/ieee754/dbl-64/s_rint.c
+++ b/sysdeps/ieee754/dbl-64/s_rint.c
@@ -22,6 +22,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 static const double
   TWO52[2] = {
@@ -59,9 +60,5 @@ __rint (double x)
   return w - TWO52[sx];
 }
 #ifndef __rint
-weak_alias (__rint, rint)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__rint, __rintl)
-weak_alias (__rint, rintl)
-# endif
+libm_alias_double (__rint, rint)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/s_round.c b/sysdeps/ieee754/dbl-64/s_round.c
index 18c054a..d1fcd99 100644
--- a/sysdeps/ieee754/dbl-64/s_round.c
+++ b/sysdeps/ieee754/dbl-64/s_round.c
@@ -20,6 +20,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 
 double
@@ -76,8 +77,4 @@ __round (double x)
   INSERT_WORDS (x, i0, i1);
   return x;
 }
-weak_alias (__round, round)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__round, __roundl)
-weak_alias (__round, roundl)
-#endif
+libm_alias_double (__round, round)
diff --git a/sysdeps/ieee754/dbl-64/s_trunc.c b/sysdeps/ieee754/dbl-64/s_trunc.c
index 72b1752..004140a 100644
--- a/sysdeps/ieee754/dbl-64/s_trunc.c
+++ b/sysdeps/ieee754/dbl-64/s_trunc.c
@@ -20,6 +20,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 
 double
@@ -54,9 +55,5 @@ __trunc (double x)
   return x;
 }
 #ifndef __trunc
-weak_alias (__trunc, trunc)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__trunc, __truncl)
-weak_alias (__trunc, truncl)
-# endif
+libm_alias_double (__trunc, trunc)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c
index faaaf90..b99829d 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c
@@ -19,6 +19,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 double
 __ceil(double x)
@@ -46,9 +47,5 @@ __ceil(double x)
 	return x;
 }
 #ifndef __ceil
-weak_alias (__ceil, ceil)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__ceil, __ceill)
-weak_alias (__ceil, ceill)
-# endif
+libm_alias_double (__ceil, ceil)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c
index 1b99fff..7b1d291 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c
@@ -33,6 +33,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <stdint.h>
+#include <libm-alias-double.h>
 
 /*
  * floor(x)
@@ -66,9 +67,5 @@ __floor (double x)
 	return x;
 }
 #ifndef __floor
-weak_alias (__floor, floor)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__floor, __floorl)
-weak_alias (__floor, floorl)
-# endif
+libm_alias_double (__floor, floor)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
index 86a7911..363a1af 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
@@ -24,6 +24,7 @@
 #include <sysdep.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 
 long long int
@@ -63,20 +64,12 @@ __llround (double x)
   return sign * result;
 }
 
-weak_alias (__llround, llround)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__llround, __llroundl)
-weak_alias (__llround, llroundl)
-#endif
+libm_alias_double (__llround, llround)
 
 /* long has the same width as long long on LP64 machines, so use an alias.  */
 #undef lround
 #undef __lround
 #ifdef _LP64
 strong_alias (__llround, __lround)
-weak_alias (__llround, lround)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__llround, __lroundl)
-weak_alias (__llround, lroundl)
-# endif
+libm_alias_double (__lround, lround)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c
index 02b01aa..e189c8e 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c
@@ -21,6 +21,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 /* For LP64, lround is an alias for llround.  */
 #ifndef _LP64
@@ -80,10 +81,6 @@ __lround (double x)
   return sign * result;
 }
 
-weak_alias (__lround, lround)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__lround, __lroundl)
-weak_alias (__lround, lroundl)
-# endif
+libm_alias_double (__lround, lround)
 
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
index 7d135b5..5d1f98e 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
@@ -23,6 +23,7 @@
 #include <fenv.h>
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 static const double
 TWO52[2]={
@@ -59,8 +60,4 @@ __nearbyint(double x)
 	libc_fesetenv (&env);
 	return t;
 }
-weak_alias (__nearbyint, nearbyint)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__nearbyint, __nearbyintl)
-weak_alias (__nearbyint, nearbyintl)
-#endif
+libm_alias_double (__nearbyint, nearbyint)
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c
index 37a823c..0140beb 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c
@@ -20,6 +20,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 #include <stdint.h>
 
 static const double zero = 0.0;
@@ -107,8 +108,4 @@ __remquo (double x, double y, int *quo)
     x = -x;
   return x;
 }
-weak_alias (__remquo, remquo)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__remquo, __remquol)
-weak_alias (__remquo, remquol)
-#endif
+libm_alias_double (__remquo, remquo)
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c
index 87b2339..622e479 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c
@@ -21,6 +21,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 static const double
 TWO52[2]={
@@ -52,9 +53,5 @@ __rint(double x)
 	return w-TWO52[sx];
 }
 #ifndef __rint
-weak_alias (__rint, rint)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__rint, __rintl)
-weak_alias (__rint, rintl)
-# endif
+libm_alias_double (__rint, rint)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c
index 0e3738b..fe8a8bc 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c
@@ -20,6 +20,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 #include <stdint.h>
 
 
@@ -61,8 +62,4 @@ __round (double x)
   INSERT_WORDS64 (x, i0);
   return x;
 }
-weak_alias (__round, round)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__round, __roundl)
-weak_alias (__round, roundl)
-#endif
+libm_alias_double (__round, round)
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c
index 050ec00..8675aa1 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c
@@ -20,6 +20,7 @@
 #include <math.h>
 
 #include <math_private.h>
+#include <libm-alias-double.h>
 
 
 double
@@ -49,9 +50,5 @@ __trunc (double x)
   return x;
 }
 #ifndef __trunc
-weak_alias (__trunc, trunc)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__trunc, __truncl)
-weak_alias (__trunc, truncl)
-# endif
+libm_alias_double (__trunc, trunc)
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_ceil.c b/sysdeps/ieee754/ldbl-opt/s_ceil.c
deleted file mode 100644
index 6e4b707..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_ceil.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_ceil.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __ceil, ceill, GLIBC_2_0);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_floor.c b/sysdeps/ieee754/ldbl-opt/s_floor.c
deleted file mode 100644
index 7797944..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_floor.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_floor.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __floor, floorl, GLIBC_2_0);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_llround.c b/sysdeps/ieee754/ldbl-opt/s_llround.c
deleted file mode 100644
index 36c7e6e..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_llround.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_llround.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __llround, llroundl, GLIBC_2_1);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_lround.c b/sysdeps/ieee754/ldbl-opt/s_lround.c
deleted file mode 100644
index f3a27fa..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_lround.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_lround.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __lround, lroundl, GLIBC_2_1);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_nearbyint.c b/sysdeps/ieee754/ldbl-opt/s_nearbyint.c
deleted file mode 100644
index a8b7973..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_nearbyint.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_nearbyint.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_remquo.c b/sysdeps/ieee754/ldbl-opt/s_remquo.c
deleted file mode 100644
index 9f3d7ba..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_remquo.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_remquo.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __remquo, remquol, GLIBC_2_1);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_rint.c b/sysdeps/ieee754/ldbl-opt/s_rint.c
deleted file mode 100644
index d9b156e..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_rint.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_rint.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __rint, rintl, GLIBC_2_0);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_round.c b/sysdeps/ieee754/ldbl-opt/s_round.c
deleted file mode 100644
index edff2f0..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_round.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_round.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __round, roundl, GLIBC_2_1);
-#endif
diff --git a/sysdeps/ieee754/ldbl-opt/s_trunc.c b/sysdeps/ieee754/ldbl-opt/s_trunc.c
deleted file mode 100644
index 9d90a2b..0000000
--- a/sysdeps/ieee754/ldbl-opt/s_trunc.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_trunc.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __trunc, truncl, GLIBC_2_1);
-#endif

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

Summary of changes:
 ChangeLog                                        |   62 ++++++++++++++++++++++
 sysdeps/ieee754/dbl-64/s_ceil.c                  |    7 +--
 sysdeps/ieee754/dbl-64/s_floor.c                 |    7 +--
 sysdeps/ieee754/dbl-64/s_llround.c               |    7 +--
 sysdeps/ieee754/dbl-64/s_lround.c                |    7 +--
 sysdeps/ieee754/dbl-64/s_nearbyint.c             |    7 +--
 sysdeps/ieee754/dbl-64/s_remquo.c                |    7 +--
 sysdeps/ieee754/dbl-64/s_rint.c                  |    7 +--
 sysdeps/ieee754/dbl-64/s_round.c                 |    7 +--
 sysdeps/ieee754/dbl-64/s_trunc.c                 |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c      |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c     |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c   |   13 +----
 sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c    |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c    |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c      |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_round.c     |    7 +--
 sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c     |    7 +--
 sysdeps/ieee754/ldbl-opt/s_ceil.c                |    5 --
 sysdeps/ieee754/ldbl-opt/s_floor.c               |    5 --
 sysdeps/ieee754/ldbl-opt/s_llround.c             |    5 --
 sysdeps/ieee754/ldbl-opt/s_lround.c              |    5 --
 sysdeps/ieee754/ldbl-opt/s_nearbyint.c           |    5 --
 sysdeps/ieee754/ldbl-opt/s_remquo.c              |    5 --
 sysdeps/ieee754/ldbl-opt/s_rint.c                |    5 --
 sysdeps/ieee754/ldbl-opt/s_round.c               |    5 --
 sysdeps/ieee754/ldbl-opt/s_trunc.c               |    5 --
 28 files changed, 99 insertions(+), 140 deletions(-)
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_ceil.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_floor.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_llround.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_lround.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_nearbyint.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_remquo.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_rint.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_round.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/s_trunc.c


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]