summary refs log tree commit diff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-05-08 17:29:24 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-06-12 11:23:01 +0100
commitadace89562c7a9645b8dc84f6e1ac7ba8756094e (patch)
tree8a2cef419d80b54769da7cf5853ff4292f9e8237 /arch/arm64/Kconfig
parent73150c983ac1f9b7653cfd3823b1ad4a44aad3bf (diff)
downloadlinux-adace89562c7a9645b8dc84f6e1ac7ba8756094e.tar.gz
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>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 56b3f6d447ae..c3e3a17215a0 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -7,6 +7,7 @@ config ARM64
 	select ARM_AMBA
 	select ARM_ARCH_TIMER
 	select ARM_GIC
+	select BUILDTIME_EXTABLE_SORT
 	select CLONE_BACKWARDS
 	select COMMON_CLK
 	select GENERIC_CLOCKEVENTS