Re: [PATCH] powerpc: Define and use PPC_ELF_ABI_v2

2016-06-04 Thread Naveen N. Rao
On 2016/04/28 07:38PM, Michael Ellerman wrote: > We're approaching 20 locations where we need to check for ELF ABI v2. > That's fine, except the logic is a bit awkward, because we have to check > that _CALL_ELF is defined and then what its value is. > > So check it once in asm/types.h and define

Re: [PATCH] powerpc: Define and use PPC_ELF_ABI_v2

2016-04-29 Thread Joel Stanley
On Thu, Apr 28, 2016 at 7:08 PM, Michael Ellerman wrote: > We're approaching 20 locations where we need to check for ELF ABI v2. > That's fine, except the logic is a bit awkward, because we have to check > that _CALL_ELF is defined and then what its value is. > > So check it

Re: [PATCH] powerpc: Define and use PPC_ELF_ABI_v2

2016-04-28 Thread Balbir Singh
On 28/04/16 19:38, Michael Ellerman wrote: > We're approaching 20 locations where we need to check for ELF ABI v2. > That's fine, except the logic is a bit awkward, because we have to check > that _CALL_ELF is defined and then what its value is. > > So check it once in asm/types.h and define

Re: [PATCH] powerpc: Define and use PPC_ELF_ABI_v2

2016-04-28 Thread Naveen N. Rao
On 2016/04/28 07:38PM, Michael Ellerman wrote: > We're approaching 20 locations where we need to check for ELF ABI v2. > That's fine, except the logic is a bit awkward, because we have to check > that _CALL_ELF is defined and then what its value is. > > So check it once in asm/types.h and define

[PATCH] powerpc: Define and use PPC_ELF_ABI_v2

2016-04-28 Thread Michael Ellerman
We're approaching 20 locations where we need to check for ELF ABI v2. That's fine, except the logic is a bit awkward, because we have to check that _CALL_ELF is defined and then what its value is. So check it once in asm/types.h and define PPC_ELF_ABI_v2 when ELF ABI v2 is detected. We don't add