* [PATCH] RTEMS: Fix Ada build for riscv
@ 2021-01-14 15:43 Sebastian Huber
2021-01-14 15:45 ` Sebastian Huber
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Huber @ 2021-01-14 15:43 UTC (permalink / raw)
To: gdb-patches; +Cc: oliva
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] RTEMS: Fix Ada build for riscv
2021-01-14 15:43 [PATCH] RTEMS: Fix Ada build for riscv Sebastian Huber
@ 2021-01-14 15:45 ` Sebastian Huber
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Huber @ 2021-01-14 15:45 UTC (permalink / raw)
To: gdb-patches; +Cc: oliva
On 14/01/2021 16:43, Sebastian Huber wrote:
> gcc/ada/
>
> PR ada/98595
> Makefile.rtl (LIBGNAT_TARGET_PAIRS) <riscv*-*-rtems*>: Use
> wraplf version of Aux_Long_Long_Float.
Sorry, I sent this to the wrong mailing list.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-14 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 15:43 [PATCH] RTEMS: Fix Ada build for riscv Sebastian Huber
2021-01-14 15:45 ` Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox