Commit 49460970 authored by Russell King's avatar Russell King

ARM: always enable AEABI for ARMv6+

Always enable AEABI for ARMv6+, as these use the double-word exclusives
which must be passed an even register to avoid errors such as:

/tmp/ccG2rCwe.s:905: Error: even register required -- `ldrexd r5,r6,[r7]'
/tmp/ccG2rCwe.s:909: Error: even register required -- `strexd sl,r3,r4,[r7]'
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent dca778c5
...@@ -1531,7 +1531,6 @@ config THUMB2_KERNEL ...@@ -1531,7 +1531,6 @@ config THUMB2_KERNEL
bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY
depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K
default y if CPU_THUMBONLY default y if CPU_THUMBONLY
select AEABI
select ARM_ASM_UNIFIED select ARM_ASM_UNIFIED
select ARM_UNWIND select ARM_UNWIND
help help
...@@ -1594,7 +1593,8 @@ config ARM_PATCH_IDIV ...@@ -1594,7 +1593,8 @@ config ARM_PATCH_IDIV
code to do integer division. code to do integer division.
config AEABI config AEABI
bool "Use the ARM EABI to compile the kernel" bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && !CPU_V7M && !CPU_V6 && !CPU_V6K
default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K
help help
This option allows for the kernel to be compiled using the latest This option allows for the kernel to be compiled using the latest
ARM ABI (aka EABI). This is only useful if you are using a user ARM ABI (aka EABI). This is only useful if you are using a user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment