]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: extable: sort the exception table at build time
authorWill Deacon <will.deacon@arm.com>
Wed, 8 May 2013 16:29:24 +0000 (17:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 12 Jun 2013 10:23:01 +0000 (11:23 +0100)
commit7f01c759bd250d5738f204481f632e982d592199
tree8a2cef419d80b54769da7cf5853ff4292f9e8237
parent5c62baf629e9bc068bb0210ee759993099208398
arm64: extable: sort the exception table at build time

As is done for other architectures, sort the exception table at
build-time rather than during boot.

Since sortextable appears to be a standalone C program relying on the
host elf.h to provide EM_AARCH64, I've had to add a conditional check in
order to allow cross-compilation on machines that aren't running a
bleeding-edge libc-dev.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/kernel/vmlinux.lds.S
scripts/sortextable.c