powerpc: ELF2 binaries signal handling
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Nov 2013 11:15:03 +0000 (22:15 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Nov 2013 22:19:20 +0000 (09:19 +1100)
commitd606b92aedb0542e60965e9058ab37efcebfaec6
tree6759af3889c447578dc5ee8ac90d3c0bf71d0e0d
parent94af3abf995b17f6a008b00152c94841242ec6c7
powerpc: ELF2 binaries signal handling

For the ELFv2 ABI, the hander is the entry point, not a function descriptor.
We also need to set up r12, and fortunately the fast_exception_return
exit path restores r12 for us so nothing else is required.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/signal_64.c