aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-19 22:11:23 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-19 22:11:23 +0000
commit2d7faa721d72da439dd3b732ff9a41d096438cc8 (patch)
tree11fa833ce4f2fc98b5b777081e1b6441b5a4b5d2
parent4c48dc9386ff50f960ae9d7d71493bfd85ccb979 (diff)
downloadglibc-2d7faa721d72da439dd3b732ff9a41d096438cc8.zip
glibc-2d7faa721d72da439dd3b732ff9a41d096438cc8.tar.gz
glibc-2d7faa721d72da439dd3b732ff9a41d096438cc8.tar.bz2
Update.
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.
-rw-r--r--ChangeLog9
-rw-r--r--sysdeps/ia64/fpu/Dist1
-rw-r--r--sysdeps/ia64/fpu/Makefile6
-rw-r--r--sysdeps/ia64/fpu/libc_libm_error.c13
4 files changed, 27 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fcf5d23..5c3212c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 ae51e76..cc26176 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 e5237ff..dee9ba7 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 0000000..83a0bae
--- /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);
+}