]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf5f8015ddc23afd7ba145d70fe8c70c3031ceda
tree6759af3889c447578dc5ee8ac90d3c0bf71d0e0d
parent13dc209c5165469aea219ad8a5404dfebb67be07
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