Skip to content

Commit 4946097

Browse files
author
Russell King
committed
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: Russell King <[email protected]>
1 parent dca778c commit 4946097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,6 @@ config THUMB2_KERNEL
15311531
bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY
15321532
depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K
15331533
default y if CPU_THUMBONLY
1534-
select AEABI
15351534
select ARM_ASM_UNIFIED
15361535
select ARM_UNWIND
15371536
help
@@ -1594,7 +1593,8 @@ config ARM_PATCH_IDIV
15941593
code to do integer division.
15951594

15961595
config AEABI
1597-
bool "Use the ARM EABI to compile the kernel"
1596+
bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && !CPU_V7M && !CPU_V6 && !CPU_V6K
1597+
default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K
15981598
help
15991599
This option allows for the kernel to be compiled using the latest
16001600
ARM ABI (aka EABI). This is only useful if you are using a user

0 commit comments

Comments
 (0)