Re: [v4] powerpc: Define and use PPC64_ELF_ABI_v2/v1

2016-06-15 Thread Michael Ellerman
On Mon, 2016-06-06 at 16:56:10 UTC, "Naveen N. Rao" wrote: > From: 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

[PATCH v4] powerpc: Define and use PPC64_ELF_ABI_v2/v1

2016-06-06 Thread Naveen N. Rao
From: 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 PPC64_ELF_ABI_v2 when ELF ABI v2