about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/s_finitel.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_finitel.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
index 142d3ed90b..49f2c92385 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
@@ -35,8 +35,11 @@ ___finitel (long double x)
 				 -0x7ff0000000000000LL)>>63);
 }
 hidden_ver (___finitel, __finitel)
-#ifndef IS_IN_libm
 weak_alias (___finitel, ____finitel)
-long_double_symbol (libc, ___finitel, finitel);
-long_double_symbol (libc, ____finitel, __finitel);
+#ifdef IS_IN_libm
+long_double_symbol (libm, ____finitel, finitel);
+long_double_symbol (libm, ___finitel, __finitel);
+#else
+long_double_symbol (libc, ____finitel, finitel);
+long_double_symbol (libc, ___finitel, __finitel);
 #endif