RTEMS: Fix Ada build for riscv

gcc/ada/

	PR ada/98595
	* Makefile.rtl (LIBGNAT_TARGET_PAIRS) <riscv*-*-rtems*>: Use
	wraplf version of Aux_Long_Long_Float.
This commit is contained in:
Sebastian Huber 2021-01-14 16:05:14 +01:00
parent 7624c58c6b
commit aa3d33dccb

View File

@ -2168,11 +2168,16 @@ ifeq ($(strip $(filter-out rtems%,$(target_os))),)
s-tpopsp.adb<libgnarl/s-tpopsp__tls.adb \
s-stchop.adb<libgnat/s-stchop__rtems.adb \
s-interr.adb<libgnarl/s-interr__hwint.adb
ifeq ($(strip $(filter-out arm%, $(target_cpu))),)
EH_MECHANISM=-arm
else
EH_MECHANISM=-gcc
endif
ifeq ($(strip $(filter-out riscv%,$(target_cpu))),)
LIBGNAT_TARGET_PAIRS += a-nallfl.ads<libgnat/a-nallfl__wraplf.ads
endif
endif
# PikeOS