Skip to content
Snippets Groups Projects
Commit c4a30c3b authored by Russell King's avatar Russell King
Browse files

ARM: only allow kernel mode neon with AEABI


This prevents the linker erroring with:

arm-linux-ld: error: arch/arm/lib/xor-neon.o uses VFP instructions, whereas arch/arm/lib/built-in.o does not
arm-linux-ld: failed to merge target specific data of file arch/arm/lib/xor-neon.o

This is due to the non-neon files being marked as containing FPA data/
instructions (even though they do not) being mixed with files which
contain VFP, which is an incompatible floating point format.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d95bc250
Branches
Tags
No related merge requests found
...@@ -2217,8 +2217,7 @@ config NEON ...@@ -2217,8 +2217,7 @@ config NEON
config KERNEL_MODE_NEON config KERNEL_MODE_NEON
bool "Support for NEON in kernel mode" bool "Support for NEON in kernel mode"
default n depends on NEON && AEABI
depends on NEON
help help
Say Y to include support for NEON in kernel mode. Say Y to include support for NEON in kernel mode.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment