Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-08 Thread Eric Botcazou
> Okay, I've attached them. I hope it helps! Thanks. The patch has been installed on the mainline. -- Eric Botcazou

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-05 Thread Arnaud Charlet
Patch is OK. Arno >>> Is a new submission necessary or can this be handled by committer? >> Preferably yes. >>> A new submission will take me a few days because I'm traveling ATM. > > There was a significant amount of bitrot. Apparently right after I > submitted the patch, many macros were adj

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-04 Thread Arnaud Charlet
> There was a significant amount of bitrot. Apparently right after I > submitted the patch, many macros were adjusted by Adacore hitting the > same files and copyrights as I did. I updated the patch set by hand and > tested it against the 31 may snapshot. I also fixed the > TOOLS_TARGET_PAIRS is

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-04 Thread John Marino
On 6/3/2015 11:03, Arnaud Charlet wrote: >> Is a new submission necessary or can this be handled by committer? > Preferably yes. >> A new submission will take me a few days because I'm traveling ATM. There was a significant amount of bitrot. Apparently right after I submitted the patch, many ma

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread Thomas Quinot
* John Marino, 2015-06-03 : > I have this fixed in an interesting way on gnat-aux. I found that > setting TARGET_96_ROUND_53_LONG_DOUBLE affects other front ends, so you > have to choose which one you want to be correct, GNAT or the C (or > whatever, can't remember which ones were affected now)

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread John Marino
On 6/3/2015 11:39, Thomas Quinot wrote: > Patch looks good to me. The story with floats is that on FreeBSD, the > i386 FPU is set to 53-bit floats, but the GNAT runtime library always > issues a "finit" instruction to reset it to full precision, so we need > to reset TARGET_96_ROUND_53_LONG_DOUBLE

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread Thomas Quinot
* Eric Botcazou, 2015-06-03 : > > Note 2) I removed reference to FreeBSD 6 and earlier. These platforms > > have been EOL for years (FreeBSD 8 is EOL in 4 weeks) > > > > Note 3) FreeBSD should have switched to use errno years ago, this patch > > does that now. > > > > Note 4) For all BSD except

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread Arnaud Charlet
> Okay, so that means the Makefile.in patch needs changing in two ways: > 1. Don't remove TOOL_TARGET_PAIRS lines from two FreeBSD targets > 2. Add TOOL_TARGET_PAIRS line to new DragonFly target. Right. > Is a new submission necessary or can this be handled by committer? Preferably yes. > A n

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread John Marino
On 6/3/2015 09:30, Arnaud Charlet wrote: >>> Note 1) All TOOL_TARGET_PAIRS in gcc/ada/gcc-interface/Makefile.in >>> should be removed for most (if not all) platforms as they were moved to >>> gnattools/configure and are now no-ops. However, for this patch set I >>> only removed them for FreeBSD.

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread Arnaud Charlet
> > Note 1) All TOOL_TARGET_PAIRS in gcc/ada/gcc-interface/Makefile.in > > should be removed for most (if not all) platforms as they were moved to > > gnattools/configure and are now no-ops. However, for this patch set I > > only removed them for FreeBSD. > > They are actually used if you config

Re: [patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-06-03 Thread Eric Botcazou
> This patch set is a subset of the GNAT patches I've maintained > separately for a few years. I have limited it adding support for > x86-64-*-dragonfly* and improving support for i[34567]86-*-freebsd and > x86_64-*-freebsd*. Thanks for posting it. > I've added the attached patch to the gcc trun

[patch] Implement Ada support for DragonFly, improve it for FreeBSD

2015-05-29 Thread John Marino
This patch set is a subset of the GNAT patches I've maintained separately for a few years. I have limited it adding support for x86-64-*-dragonfly* and improving support for i[34567]86-*-freebsd and x86_64-*-freebsd*. In some cases of pre-processor macros, they may contain additions for NetBSD an