aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_fabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/fpu/s_fabs.c')
-rw-r--r--sysdeps/alpha/fpu/s_fabs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/alpha/fpu/s_fabs.c b/sysdeps/alpha/fpu/s_fabs.c
index f7a2f93..9bc42f6 100644
--- a/sysdeps/alpha/fpu/s_fabs.c
+++ b/sysdeps/alpha/fpu/s_fabs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson.
@@ -18,6 +18,7 @@
02111-1307 USA. */
#include <math.h>
+#include <math_ldbl_opt.h>
double
__fabs (double x)
@@ -35,3 +36,6 @@ weak_alias (__fabs, fabs)
strong_alias (__fabs, __fabsl)
weak_alias (__fabs, fabsl)
#endif
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
+compat_symbol (libm, __fabs, fabsl, GLIBC_2_0);
+#endif