]> gcc.gnu.org Git - gcc.git/commitdiff
RTEMS: Fix Ada build for riscv
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Thu, 14 Jan 2021 15:05:14 +0000 (16:05 +0100)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Thu, 14 Jan 2021 16:10:44 +0000 (17:10 +0100)
gcc/ada/

PR ada/98595
* Makefile.rtl (LIBGNAT_TARGET_PAIRS) <riscv*-*-rtems*>: Use
wraplf version of Aux_Long_Long_Float.

gcc/ada/Makefile.rtl

index 81df1e8babc76295592e4e4c1e15138bb08ed5d0..35faf13ea46a68927199a7feb4c0871809e2c056 100644 (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
This page took 0.064553 seconds and 5 git commands to generate.