powerpc: Add support for relative exception tables
authorNicholas Piggin <npiggin@gmail.com>
Fri, 14 Oct 2016 05:47:31 +0000 (16:47 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Nov 2016 00:11:51 +0000 (11:11 +1100)
commit61a92f703120daf7ed25e046275aa8a2d3085ad4
tree0ded0103f9cc2e2a6fc53e0fcc5bb6c4c2329265
parent24bfa6a9e0d4fe414dfc4ad06c93e10c4c37194e
powerpc: Add support for relative exception tables

This halves the exception table size on 64-bit builds, and it allows
build-time sorting of exception tables to work on relocated kernels.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Minor asm fixups and bits to keep the selftests working]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/include/asm/uaccess.h
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c
arch/powerpc/platforms/embedded6xx/holly.c
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
arch/powerpc/sysdev/fsl_rio.c
tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c