diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | sysdeps/ia64/fpu/Dist | 1 | ||||
-rw-r--r-- | sysdeps/ia64/fpu/Makefile | 6 | ||||
-rw-r--r-- | sysdeps/ia64/fpu/libc_libm_error.c | 13 |
4 files changed, 27 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2001-02-19 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error, + libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also + in libc. + (routines): Replace libm_error with libc_libm_error. + * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c. + * sysdeps/ia64/fpu/libc_libm_error.c: New file. + 2001-02-18 Mark Kettenis <kettenis@gnu.org> * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64. diff --git a/sysdeps/ia64/fpu/Dist b/sysdeps/ia64/fpu/Dist index ae51e76a8b..cc2617607a 100644 --- a/sysdeps/ia64/fpu/Dist +++ b/sysdeps/ia64/fpu/Dist @@ -1,3 +1,4 @@ +libc_libm_error.c libm_atan2_reg.S libm_error.c libm_reduce.S diff --git a/sysdeps/ia64/fpu/Makefile b/sysdeps/ia64/fpu/Makefile index e5237ffa84..dee9ba78c7 100644 --- a/sysdeps/ia64/fpu/Makefile +++ b/sysdeps/ia64/fpu/Makefile @@ -1,7 +1,9 @@ ifeq ($(subdir),math) libm-sysdep_routines += libm_atan2_reg s_matherrf s_matherrl libm_reduce \ - libm_tan + libm_tan libm_error \ + $(calls) $(calls:=f) $(long-c-$(long-double-fcts)) \ + libm_frexp4 libm_frexp4f libm_frexp4l -routines += libm_frexp4 libm_frexp4f libm_frexp4l libm_error +routines += libm_frexp4 libm_frexp4f libm_frexp4l libc_libm_error CPPFLAGS += -DSIZE_INT_32 endif diff --git a/sysdeps/ia64/fpu/libc_libm_error.c b/sysdeps/ia64/fpu/libc_libm_error.c new file mode 100644 index 0000000000..83a0bae4df --- /dev/null +++ b/sysdeps/ia64/fpu/libc_libm_error.c @@ -0,0 +1,13 @@ +/* Error handling in libm-style for libc. */ + +#include <errno.h> + +#include "libm_support.h" + + +void +__libm_error_support (void *arg1, void *arg2, void *retval, + error_types input_tag) +{ + __set_errno (ERANGE); +} |