Use Aux_Long_Long_Float wraplf for sparc*-sun-solaris too
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 22 Oct 2020 05:32:06 +0000 (02:32 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 22 Oct 2020 05:32:06 +0000 (02:32 -0300)
Like aarch64-* and ppc*-linux-gnu, sparc*-sun-solaris has
Long_Long_Float mapped to double rather than long double, so the
intrinsics in the default version of a-nallfl.ads have mismatching
types.  Adopt the wraplf workaround for it as well.

for  gcc/ada/ChangeLog

* Makefile.rtl (LIBGNAT_TARGET_PAIRS) <sparc*-sun-solaris>:
Use wraplf version of a-nallfl.

gcc/ada/Makefile.rtl

index 87ee3e9..fb7ecb1 100644 (file)
@@ -1572,6 +1572,7 @@ endif
 ifeq ($(strip $(filter-out sparc% sun solaris%,$(target_cpu) $(target_vendor) $(target_os))),)
   LIBGNAT_TARGET_PAIRS = \
   a-intnam.ads<libgnarl/a-intnam__solaris.ads \
+  a-nallfl.ads<libgnat/a-nallfl__wraplf.ads \
   s-inmaop.adb<libgnarl/s-inmaop__posix.adb \
   s-intman.adb<libgnarl/s-intman__solaris.adb \
   s-mudido.adb<libgnarl/s-mudido__affinity.adb \