Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-04

Re: [PATCH] powerpc: Define and use PPC_ELF_ABI_v2

From: Balbir Singh <bsingharora@gmail.com>
Date: 2016-04-29 05:59:24


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 PPC_ELF_ABI_v2 when ELF ABI
v2 is detected.

We don't add explicit includes of asm/types.h because it's included
basically everywhere via compiler.h.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
Makes sense

Acked-by: Balbir Singh <bsingharora@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help