blob: fe00b5d52ee14f684b723db7f309e6b9985cb0a9 [file]
softfp_wrap_start := '\#if !__ARM_ARCH_ISA_ARM && __ARM_ARCH_ISA_THUMB == 1'
softfp_wrap_end := '\#endif'
bitint_extras += floatbitinthf
softfp_cflags := -mfp16-format=ieee
LIB2ADD += $(srcdir)/config/arm/sfp-exceptions.c
# __mulhc3 and __divhc3 from libgcc2.c need HFmode, which requires an
# fp16 format to be selected.
_mulhc3$(objext) _divhc3$(objext): INTERNAL_CFLAGS += $(softfp_cflags)