aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-24 23:53:54 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-24 23:53:54 +0000
commitde61465c04d36dadce2f4e7f78ebbe50bae6a21e (patch)
tree18bd679e3f79e7f2201cb0318117ae6458c0c44f /sysdeps/ieee754
parent9ae6d171bcaac211248f98a38dfde0b8cb9a1fbb (diff)
downloadglibc-de61465c04d36dadce2f4e7f78ebbe50bae6a21e.tar
glibc-de61465c04d36dadce2f4e7f78ebbe50bae6a21e.tar.gz
glibc-de61465c04d36dadce2f4e7f78ebbe50bae6a21e.tar.bz2
glibc-de61465c04d36dadce2f4e7f78ebbe50bae6a21e.zip
Use libm_alias_float128 more in sysdeps/ieee754/float128.
This patch uses libm_alias_float128 in place of weak_alias more in sysdeps/ieee754/float128, in preparation for defining _Float64x aliases when appropriate. Tested for x86_64, and for powerpc64le (compilation only) with build-many-glibcs.py in conjunction with _Float64x support patches. * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define using libm_alias_float128. * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128): Likewise. * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128): Likewise. * sysdeps/ieee754/float128/s_setpayloadsigf128.c (setpayloadsigf128): Likewise. * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128): Likewise. * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128): Likewise.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/float128/s_fromfpf128.c2
-rw-r--r--sysdeps/ieee754/float128/s_fromfpxf128.c2
-rw-r--r--sysdeps/ieee754/float128/s_setpayloadf128.c2
-rw-r--r--sysdeps/ieee754/float128/s_setpayloadsigf128.c2
-rw-r--r--sysdeps/ieee754/float128/s_ufromfpf128.c2
-rw-r--r--sysdeps/ieee754/float128/s_ufromfpxf128.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/ieee754/float128/s_fromfpf128.c b/sysdeps/ieee754/float128/s_fromfpf128.c
index a7393b3c6a..86adf3821e 100644
--- a/sysdeps/ieee754/float128/s_fromfpf128.c
+++ b/sysdeps/ieee754/float128/s_fromfpf128.c
@@ -3,4 +3,4 @@
#define FUNC __fromfpf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
-weak_alias (__fromfpf128, fromfpf128)
+libm_alias_float128 (__fromfp, fromfp)
diff --git a/sysdeps/ieee754/float128/s_fromfpxf128.c b/sysdeps/ieee754/float128/s_fromfpxf128.c
index ef05f4beac..c56422381f 100644
--- a/sysdeps/ieee754/float128/s_fromfpxf128.c
+++ b/sysdeps/ieee754/float128/s_fromfpxf128.c
@@ -3,4 +3,4 @@
#define FUNC __fromfpxf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
-weak_alias (__fromfpxf128, fromfpxf128)
+libm_alias_float128 (__fromfpx, fromfpx)
diff --git a/sysdeps/ieee754/float128/s_setpayloadf128.c b/sysdeps/ieee754/float128/s_setpayloadf128.c
index 526fc47fda..65f0961fc7 100644
--- a/sysdeps/ieee754/float128/s_setpayloadf128.c
+++ b/sysdeps/ieee754/float128/s_setpayloadf128.c
@@ -2,4 +2,4 @@
#define SIG 0
#define FUNC __setpayloadf128
#include "../ldbl-128/s_setpayloadl_main.c"
-weak_alias (__setpayloadf128, setpayloadf128)
+libm_alias_float128 (__setpayload, setpayload)
diff --git a/sysdeps/ieee754/float128/s_setpayloadsigf128.c b/sysdeps/ieee754/float128/s_setpayloadsigf128.c
index e81720591f..bd3ffb6775 100644
--- a/sysdeps/ieee754/float128/s_setpayloadsigf128.c
+++ b/sysdeps/ieee754/float128/s_setpayloadsigf128.c
@@ -2,4 +2,4 @@
#define SIG 1
#define FUNC __setpayloadsigf128
#include "../ldbl-128/s_setpayloadl_main.c"
-weak_alias (__setpayloadsigf128, setpayloadsigf128)
+libm_alias_float128 (__setpayloadsig, setpayloadsig)
diff --git a/sysdeps/ieee754/float128/s_ufromfpf128.c b/sysdeps/ieee754/float128/s_ufromfpf128.c
index e8a5ffe4de..0e6521f587 100644
--- a/sysdeps/ieee754/float128/s_ufromfpf128.c
+++ b/sysdeps/ieee754/float128/s_ufromfpf128.c
@@ -3,4 +3,4 @@
#define FUNC __ufromfpf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
-weak_alias (__ufromfpf128, ufromfpf128)
+libm_alias_float128 (__ufromfp, ufromfp)
diff --git a/sysdeps/ieee754/float128/s_ufromfpxf128.c b/sysdeps/ieee754/float128/s_ufromfpxf128.c
index c5c69664d1..cd192b73bf 100644
--- a/sysdeps/ieee754/float128/s_ufromfpxf128.c
+++ b/sysdeps/ieee754/float128/s_ufromfpxf128.c
@@ -3,4 +3,4 @@
#define FUNC __ufromfpxf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
-weak_alias (__ufromfpxf128, ufromfpxf128)
+libm_alias_float128 (__ufromfpx, ufromfpx)