summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/arch/arm.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/arch/arm.in b/config/arch/arm.in
index dc31a5c..4dc2eaf 100644
--- a/config/arch/arm.in
+++ b/config/arch/arm.in
@@ -13,6 +13,31 @@ config ARCH_arm
The ARM architecture, as defined by:
http://www.arm.com/
+config ARCH_ARM_MODE
+ string
+ default "arm" if ARCH_ARM_MODE_ARM
+ default "thumb" if ARCH_ARM_MODE_THUMB
+
+choice
+ bool
+ prompt "Default instruction set mode"
+ default ARCH_ARM_MODE_ARM
+
+config ARCH_ARM_MODE_ARM
+ bool
+ prompt "arm"
+ help
+ Defaults to emitting instructions in the ARM mode.
+
+config ARCH_ARM_MODE_THUMB
+ bool
+ prompt "thumb (EXPERIMENTAL)"
+ depends on EXPERIMENTAL
+ help
+ Defaults to emitting instructions in the THUMB mode.
+
+endchoice
+
config ARCH_ARM_EABI
bool
prompt "Use EABI"