summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2018-07-04 17:55:42 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-08-10 16:02:45 +0200
commitd53bc3437f941cf01bf709ddd8e9c394db095b7a (patch)
tree96afd872a638e9148c0823e71bb5183eeb9a41d5 /libm
parentb5ec02b92c19dd3ab63aa7017682f60dec8f3ccc (diff)
isnan: Add isnan weak alias to __isnan
* libm/s_isnan.c: Add isnan weak alias. Signed-off-by: Mickaël Guêné <mickael.guene@st.com> Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
Diffstat (limited to 'libm')
-rw-r--r--libm/s_isnan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libm/s_isnan.c b/libm/s_isnan.c
index 1bc49cb02..1aabb7473 100644
--- a/libm/s_isnan.c
+++ b/libm/s_isnan.c
@@ -26,4 +26,5 @@ int __isnan(double x)
hx = 0x7ff00000 - hx;
return (int)(((u_int32_t)hx)>>31);
}
+weak_alias(__isnan, isnan)
libm_hidden_def(__isnan)