Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread Arnaud Charlet
> gcc/ada/Changelog: > 2017-02-XX John Marino > > * system-freebsd-x86.ads: Rename into... > * system-freebsd.ads: ...this > (Default_Bit_Order): Define using Standard'Default_Bit_Order > * gcc-interface/Makefile.in: Support aarch64-freebsd > (x86_64/FreeBSD): Adju

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread John Marino
On 2/7/2017 07:53, Arnaud Charlet wrote: I was pointing out that on gcc-6, aarch64-linux is using x86-64 system file too. Since I used gcc-6 for the original testing on freebsd, that's where it came from. It's been changed on trunk, but nobody backported those changes to gcc-6. It was obviousl

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread John Marino
On 2/7/2017 07:53, Arnaud Charlet wrote: I was pointing out that on gcc-6, aarch64-linux is using x86-64 system file too. Since I used gcc-6 for the original testing on freebsd, that's where it came from. It's been changed on trunk, but nobody backported those changes to gcc-6. It was obviousl

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread Arnaud Charlet
> I was pointing out that on gcc-6, aarch64-linux is using x86-64 > system file too. Since I used gcc-6 for the original testing on > freebsd, that's where it came from. It's been changed on trunk, but > nobody backported those changes to gcc-6. It was obviously "good > enough" and a "placeholde

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread John Marino
On 2/7/2017 07:41, Arnaud Charlet wrote: This is exactly what aarch64-*-linux* is doing is doing in gcc 6 branch (e.g. system.ads Well no, you are reusing an x86_64 file for an aarch64 architecture, so this is exactly the same issue. I was pointing out that on gcc-6, aarch64-linux is using x8

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread Arnaud Charlet
> This is exactly what aarch64-*-linux* is doing is doing in gcc 6 > branch (e.g. system.ads modeled it after, but now I see it has been changed to Well no, you are reusing an x86_64 file for an aarch64 architecture, so this is exactly the same issue. Arno

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread John Marino
On 2/7/2017 05:37, Arnaud Charlet wrote: The attached patch to gcc trunk enables Ada support on aarch64-*-freebsd*. All tests pass except those affected by the currently missing unwind support (c52103x, c52104x, c52104y, cb1010a, cb1010c, cb1010d, gnat.dg/null_pointer_deref* (3)). I'd also lik

Re: Add Ada support for aarch64-*-freebsd*

2017-02-07 Thread Arnaud Charlet
> The attached patch to gcc trunk enables Ada support on > aarch64-*-freebsd*. All tests pass except those affected by the > currently missing unwind support (c52103x, c52104x, c52104y, > cb1010a, cb1010c, cb1010d, gnat.dg/null_pointer_deref* (3)). > > I'd also like to get this patch backported