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-563-g006e766


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  006e766437033d6565133ce356b55d7b301a7b58 (commit)
      from  1def91b304faaaf18ab1162bf02bd43c13b5a74d (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=006e766437033d6565133ce356b55d7b301a7b58

commit 006e766437033d6565133ce356b55d7b301a7b58
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Oct 13 16:43:18 2017 +0000

    Use libm_alias_ldouble for SPARC fabsl.
    
    This patch makes SPARC fabsl implementation use libm_alias_ldouble, to
    prepare them for also defining _Float128 function aliases.
    
    Tested with build-many-glibcs.py that installed stripped shared
    libraries (sparc64-linux-gnu and sparcv9-linux-gnu) are unchanged by
    the patch.
    
    	* sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
    	<libm-alias-ldouble.h>.
    	(fabsl): Define using libm_alias_ldouble.
    	* sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
    	<libm-alias-ldouble.h>.
    	(fabsl): Define using libm_alias_ldouble.

diff --git a/ChangeLog b/ChangeLog
index 7460331..514873b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-10-13  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
+	<libm-alias-ldouble.h>.
+	(fabsl): Define using libm_alias_ldouble.
+	* sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
+	<libm-alias-ldouble.h>.
+	(fabsl): Define using libm_alias_ldouble.
+
 	* sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
 	Remove conditional code.
 
diff --git a/sysdeps/sparc/sparc32/fpu/s_fabsl.c b/sysdeps/sparc/sparc32/fpu/s_fabsl.c
index 3c03b92..411a2e1 100644
--- a/sysdeps/sparc/sparc32/fpu/s_fabsl.c
+++ b/sysdeps/sparc/sparc32/fpu/s_fabsl.c
@@ -1,8 +1,9 @@
 #include <math.h>
 #include <math_ldbl_opt.h>
+#include <libm-alias-ldouble.h>
 
 long double __fabsl (long double x)
 {
   return __builtin_fabsl (x);
 }
-long_double_symbol (libm, __fabsl, fabsl);
+libm_alias_ldouble (__fabs, fabs)
diff --git a/sysdeps/sparc/sparc64/fpu/s_fabsl.c b/sysdeps/sparc/sparc64/fpu/s_fabsl.c
index 67e9f47..72e1c51 100644
--- a/sysdeps/sparc/sparc64/fpu/s_fabsl.c
+++ b/sysdeps/sparc/sparc64/fpu/s_fabsl.c
@@ -1,5 +1,7 @@
+#include <libm-alias-ldouble.h>
+
 long double __fabsl (long double x)
 {
   return __builtin_fabsl (x);
 }
-weak_alias (__fabsl, fabsl)
+libm_alias_ldouble (__fabs, fabs)

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

Summary of changes:
 ChangeLog                           |    7 +++++++
 sysdeps/sparc/sparc32/fpu/s_fabsl.c |    3 ++-
 sysdeps/sparc/sparc64/fpu/s_fabsl.c |    4 +++-
 3 files changed, 12 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]