arm64: Use aarch64elf and aarch64elfb emulation mode variants
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 2 Jul 2018 09:16:59 +0000 (11:16 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 4 Jul 2018 16:37:01 +0000 (17:37 +0100)
commit38fc4248677552ce35efc09902fdcb06b61d7ef9
tree94c95f373eb164bcfdbb8abbcd0a5c57234276a0
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063
arm64: Use aarch64elf and aarch64elfb emulation mode variants

The aarch64linux and aarch64linuxb emulation modes are not supported by
bare-metal toolchains and Linux using them forbids building the kernel
with these toolchains.

Since there is apparently no reason to target these emulation modes, the
more generic elf modes are used instead, allowing to build on bare-metal
toolchains as well as the already-supported ones.

Fixes: 3d6a7b99e3fa ("arm64: ensure the kernel is compiled for LP64")

Cc: stable@vger.kernel.org
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Makefile