glibc/ports/sysdeps/powerpc/nofpu/Makefile

25 lines
854 B
Makefile
Raw Normal View History

2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
# Makefile fragment for PowerPC with no FPU.
ifeq ($(subdir),soft-fp)
sysdep_routines += $(gcc-single-routines) $(gcc-double-routines) \
sim-full
2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
endif
ifeq ($(subdir),math)
libm-support += fenv_const
CPPFLAGS += -I../soft-fp/
# The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
# "expand_abs wrong default code for floating point"
# As this is not a regression, a fix is not likely to go into
# gcc-4.1.1 and may be too late for gcc-4.2. So we need these flags
# until the fix in a gcc release and glibc drops support for earlier
# versions of gcc.
CFLAGS-e_powl.c += -fno-builtin-fabsl
CFLAGS-s_ccoshl.c += -fno-builtin-fabsl
CFLAGS-s_csinhl.c += -fno-builtin-fabsl
CFLAGS-s_clogl.c += -fno-builtin-fabsl
CFLAGS-s_clog10l.c += -fno-builtin-fabsl
CFLAGS-s_csinl.c += -fno-builtin-fabsl
CFLAGS-s_csqrtl.c += -fno-builtin-fabsl
2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
endif