[uclibc-ng-devel,29/32] isnan: Add isnan weak alias to __isnan

Message ID 20180704155605.1892-30-christophe.lyon@st.com
State New
Headers show
Series
  • FDPIC ABI for ARM
Related show

Commit Message

Christophe Lyon July 4, 2018, 3:55 p.m.
* 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>

Patch

diff --git a/libm/s_isnan.c b/libm/s_isnan.c
index 1bc49cb..1aabb74 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)