Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-28 Thread Segher Boessenkool
On Fri, Jul 28, 2017 at 10:29:21AM +0200, Sebastian Huber wrote: > Would you mind having a look at: > > https://gcc.gnu.org/ml/gcc/2017-07/msg00196.html > > Is the small data area no longer supported by GCC for 64-bit PowerPC? Yes, I'm looking at it, it takes a bit longer. Currently we do not s

Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-28 Thread Sebastian Huber
On 27/07/17 21:57, Segher Boessenkool wrote: On Thu, Jul 27, 2017 at 07:28:30AM +0200, Sebastian Huber wrote: This deletes eabi.h and I don't see you add all its definitions to rtems.h directly (NAME__MAIN etc.) Is this on purpose? Yes, I always wondered why GCC added the __eabi() call to mai

Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-27 Thread Segher Boessenkool
On Thu, Jul 27, 2017 at 07:28:30AM +0200, Sebastian Huber wrote: > >This deletes eabi.h and I don't see you add all its definitions to > >rtems.h directly (NAME__MAIN etc.) Is this on purpose? > > Yes, I always wondered why GCC added the __eabi() call to main() out of > thin air. In general, the

Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-26 Thread Sebastian Huber
On 26/07/17 19:56, Segher Boessenkool wrote: On Tue, Jul 25, 2017 at 02:25:21PM +0200, Sebastian Huber wrote: Add 64-bit support for RTEMS using the ELFv2 ABI with 64-bit long double. diff --git a/gcc/config.gcc b/gcc/config.gcc index 2ae0218b5fc..aab7f65c1df 100644 --- a/gcc/config.gcc +++ b/

Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-26 Thread Segher Boessenkool
Hi! On Tue, Jul 25, 2017 at 02:25:21PM +0200, Sebastian Huber wrote: > Add 64-bit support for RTEMS using the ELFv2 ABI with 64-bit long > double. > > diff --git a/gcc/config.gcc b/gcc/config.gcc > index 2ae0218b5fc..aab7f65c1df 100644 > --- a/gcc/config.gcc > +++ b/gcc/config.gcc > @@ -2424,7 +2

[PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-25 Thread Sebastian Huber
Add 64-bit support for RTEMS using the ELFv2 ABI with 64-bit long double. gcc/ * config.gcc (powerpc-*-rtems*): Remove rs6000/eabi.h. Add rs6000/biarch64.h. * config/rs6000/rtems.h (ASM_DECLARE_FUNCTION_SIZE): New macro. (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.