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.
This commit is contained in:
Ulrich Drepper 2001-02-19 22:11:23 +00:00
parent 4c48dc9386
commit 2d7faa721d
4 changed files with 27 additions and 2 deletions

View File

@ -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> 2001-02-18 Mark Kettenis <kettenis@gnu.org>
* malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64. * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.

View File

@ -1,3 +1,4 @@
libc_libm_error.c
libm_atan2_reg.S libm_atan2_reg.S
libm_error.c libm_error.c
libm_reduce.S libm_reduce.S

View File

@ -1,7 +1,9 @@
ifeq ($(subdir),math) ifeq ($(subdir),math)
libm-sysdep_routines += libm_atan2_reg s_matherrf s_matherrl libm_reduce \ 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 CPPFLAGS += -DSIZE_INT_32
endif endif

View File

@ -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);
}