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-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.
+libc_libm_error.c
libm_atan2_reg.S
libm_error.c
libm_reduce.S
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
--- /dev/null
+/* 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);
+}