[Ada,FYI] revamp ada.numerics.aux
Alexandre Oliva
oliva@adacore.com
Thu Oct 22 12:04:49 GMT 2020
On Oct 22, 2020, Alexandre Oliva <oliva@adacore.com> wrote:
> (some regressions remain on x86 and x86_64,
> so further changes are expected
Here's the fix I'm installing. I'd failed to add the __nolibm bit to
x86*-vxworks in the Ada.Numerics.Aux revamp patch. Then, when I added
__wraplf for low-precision real types, I added them next to __nolibm,
since that was supposed to be present for all vxworks ports. Oops.
I'm checking this in. Tested with the affected platforms. Approved by
Eric Botcazou.
use wraplf for low-precision elementary functions on x86*-vxworks too
From: Alexandre Oliva <oliva@adacore.com>
The earlier patch that introduced the wraplf variants missed the
x86*-vxworks* ports. This fixes them.
for gcc/ada/ChangeLog
* Makefile.rtl (LIBGNAT_TARGET_PAIRS) <x86*-vxworks*>: Select
nolibm and wraplf variants like other vxworks ports.
---
gcc/ada/Makefile.rtl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index efb73e5..e2a4f4e 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -1279,6 +1279,9 @@ ifeq ($(strip $(filter-out %86 x86_64 wrs vxworks vxworks7%,$(target_cpu) $(targ
LIBGNAT_TARGET_PAIRS+= \
a-intnam.ads<libgnarl/a-intnam__vxworks.ads \
i-vxwork.ads<libgnat/i-vxwork__x86.ads \
+ a-naliop.ads<libgnat/a-naliop__nolibm.ads \
+ a-nuaufl.ads<libgnat/a-nuaufl__wraplf.ads \
+ a-nashfl.ads<libgnat/a-nashfl__wraplf.ads \
s-osinte.adb<libgnarl/s-osinte__vxworks.adb \
s-osinte.ads<libgnarl/s-osinte__vxworks.ads \
s-inmaop.adb<libgnarl/s-inmaop__vxworks.adb \
--
Alexandre Oliva, happy hacker
https://FSFLA.org/blogs/lxo/
Free Software Activist
GNU Toolchain Engineer
More information about the Gcc-patches
mailing list