summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_fabs.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-01 03:14:01 +0000
committerRoland McGrath <roland@gnu.org>2006-02-01 03:14:01 +0000
commit8400b18bfb630399e4b028cabe72ba55b580ef66 (patch)
treea8c8c9563007f8c8e54718ced8ff2776b2a9349c /sysdeps/alpha/fpu/s_fabs.c
parentfea3f995bd004c0e31898eed82d5e15113d50e70 (diff)
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.cvs/fedora-glibc-20060201T0846
* sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add compat_symbol if LONG_DOUBLE_COMPAT. * sysdeps/alpha/fpu/s_copysign.c: Likewise. * sysdeps/alpha/fpu/s_fabs.c: Likewise. * sysdeps/alpha/fpu/s_floor.c: Likewise. * sysdeps/alpha/fpu/s_rint.c: Likewise. * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. * sysdeps/alpha/Implies: Add ieee754/ldbl-128. * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, ieee754/ldbl-opt. * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [$(subdir) = math] (libm-routines): Add multc3, divtc3.
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 f7a2f9353b..9bc42f68d0 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