Re: [Patch, AArch64, ILP32] 5/5 Define _ILP32 and __ILP32__

2013-07-19 Thread Marcus Shawcroft
On 26 June 2013 23:42, Yufeng Zhang wrote: > gcc/ > * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define _ILP32 > and __ILP32__ when the ILP32 model is in use. > OK /Marcus

Re: [Patch, AArch64, ILP32] 5/5 Define _ILP32 and __ILP32__

2013-06-28 Thread Yufeng Zhang
On 06/27/13 20:28, Joseph S. Myers wrote: On Thu, 27 Jun 2013, Yufeng Zhang wrote: We need a reliable way to tell we are compiling for ILP32. On one hand LLP64 support may be added in the future; on the other hand, not all AArch64 If thinking of adding a third ABI, that suggests you should b

Re: [Patch, AArch64, ILP32] 5/5 Define _ILP32 and __ILP32__

2013-06-27 Thread Joseph S. Myers
On Thu, 27 Jun 2013, Yufeng Zhang wrote: > We need a reliable way to tell we are compiling for ILP32. On one hand LLP64 > support may be added in the future; on the other hand, not all AArch64 If thinking of adding a third ABI, that suggests you should be using something along the lines of _MIP

Re: [Patch, AArch64, ILP32] 5/5 Define _ILP32 and __ILP32__

2013-06-27 Thread Yufeng Zhang
On 06/27/13 01:56, Joseph S. Myers wrote: On Wed, 26 Jun 2013, Yufeng Zhang wrote: This patch defines _ILP32 and __ILP32__ for the AArch64 port when the ILP32 ABI is in use. This helps libraries, e.g. libgloss and glibc, recognize which model is being compiled. GCC already defines _LP64 and

Re: [Patch, AArch64, ILP32] 5/5 Define _ILP32 and __ILP32__

2013-06-26 Thread Joseph S. Myers
On Wed, 26 Jun 2013, Yufeng Zhang wrote: > This patch defines _ILP32 and __ILP32__ for the AArch64 port when the ILP32 > ABI is in use. > > This helps libraries, e.g. libgloss and glibc, recognize which model is being > compiled. GCC already defines _LP64 and __LP64__ in architecture-independent