mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-05 05:50:29 +08:00
b7a6e02dc6
The previous fenv support for ARM used the soft-float implementation of FreeBSD. Newlib uses the one from libgcc by default. They are not compatible. Having an GCC incompatible soft-float fenv support in Newlib makes no sense. A long-term solution could be to provide a libgcc compatible soft-float support. This likely requires changes in the GCC configuration. For now, provide a stub implementation for soft-float multilibs similar to RISC-V. Move implementation to one file and delete now unused files. Hide implementation details. Remove function parameter names from header file to avoid name conflicts. Provide VFP support if __SOFTFP__ is not defined like glibc. Reviewed-by: Sebastian Huber <sebastian.huber@embedded-brains.de> Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
48 lines
904 B
Makefile
48 lines
904 B
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
|
|
$(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
LIB_SOURCES = \
|
|
e_sqrt.c \
|
|
ef_sqrt.c \
|
|
s_ceil.c \
|
|
s_floor.c \
|
|
s_nearbyint.c \
|
|
s_rint.c \
|
|
s_round.c \
|
|
s_trunc.c \
|
|
sf_ceil.c \
|
|
sf_floor.c \
|
|
sf_nearbyint.c \
|
|
sf_rint.c \
|
|
sf_round.c \
|
|
sf_trunc.c \
|
|
feclearexcept.c \
|
|
fe_dfl_env.c\
|
|
fegetenv.c \
|
|
fegetexceptflag.c \
|
|
fegetround.c \
|
|
feholdexcept.c \
|
|
fenv.c \
|
|
feraiseexcept.c \
|
|
fesetenv.c \
|
|
fesetexceptflag.c \
|
|
fesetround.c \
|
|
fetestexcept.c \
|
|
feupdateenv.c
|
|
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
lib_a_SOURCES = $(LIB_SOURCES)
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
|
noinst_DATA =
|
|
|
|
include $(srcdir)/../../../Makefile.shared
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|