aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2020-10-28 07:54:33 -0300
committerAlexandre Oliva <oliva@gnu.org>2020-10-28 07:54:33 -0300
commit31643fa3e994749bd2da7b35846f1958f8823b8d (patch)
tree0bfeaf847c842944ed7c527d835e2661ca574d22
parent3a8b20947f2b1559a7d5dcb62918f91344908c62 (diff)
downloadgcc-31643fa3e994749bd2da7b35846f1958f8823b8d.zip
gcc-31643fa3e994749bd2da7b35846f1958f8823b8d.tar.gz
gcc-31643fa3e994749bd2da7b35846f1958f8823b8d.tar.bz2
[PR97504] riscv needs wraplf for aux_long_long_float too
riscv is another platform on which GNAT maps Long_Long_Float to double rather than long double, so we have to explicitly avoid the long double intrinsics. for gcc/ada/ChangeLog PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS> <riscv*-*-*>: Use wraplf version of Aux_Long_Long_Float.
-rw-r--r--gcc/ada/Makefile.rtl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index bdaa805..6d9efc4 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -2703,6 +2703,7 @@ endif
ifeq ($(strip $(filter-out riscv% linux%,$(target_cpu) $(target_os))),)
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<libgnarl/a-intnam__linux.ads \
+ a-nallfl.ads<libgnat/a-nallfl__wraplf.ads \
s-inmaop.adb<libgnarl/s-inmaop__posix.adb \
s-intman.adb<libgnarl/s-intman__posix.adb \
s-linux.ads<libgnarl/s-linux__riscv.ads \