public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6675] RTEMS: Fix Ada build for riscv
@ 2021-01-14 16:11 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2021-01-14 16:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:aa3d33dccb57621b2ab2029dce79208c0c9392c1
commit r11-6675-gaa3d33dccb57621b2ab2029dce79208c0c9392c1
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Thu Jan 14 16:05:14 2021 +0100
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.
Diff:
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-14 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 16:11 [gcc r11-6675] RTEMS: Fix Ada build for riscv Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).