Message ID | 20210114154519.102288-1-sebastian.huber@embedded-brains.de |
---|---|
State | New |
Headers | show |
Series | RTEMS: Fix Ada build for riscv | expand |
This is OK, thanks. > gcc/ada/ > > PR ada/98595 > Makefile.rtl (LIBGNAT_TARGET_PAIRS) <riscv*-*-rtems*>: Use > wraplf version of Aux_Long_Long_Float. > --- > gcc/ada/Makefile.rtl | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl > index 81df1e8babc..35faf13ea46 100644 > --- a/gcc/ada/Makefile.rtl > +++ b/gcc/ada/Makefile.rtl > @@ -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 > -- > 2.26.2 >
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index 81df1e8babc..35faf13ea46 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -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