1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/config/arch/arm.in.2 Sun Mar 20 01:06:26 2011 +0100
1.3 @@ -0,0 +1,53 @@
1.4 +# ARM specific configuration file
1.5 +
1.6 +config ARCH_ARM_MODE
1.7 + string
1.8 + default "arm" if ARCH_ARM_MODE_ARM
1.9 + default "thumb" if ARCH_ARM_MODE_THUMB
1.10 +
1.11 +choice
1.12 + bool
1.13 + prompt "Default instruction set mode"
1.14 + default ARCH_ARM_MODE_ARM
1.15 +
1.16 +config ARCH_ARM_MODE_ARM
1.17 + bool
1.18 + prompt "arm"
1.19 + help
1.20 + Defaults to emitting instructions in the ARM mode.
1.21 +
1.22 +config ARCH_ARM_MODE_THUMB
1.23 + bool
1.24 + prompt "thumb (EXPERIMENTAL)"
1.25 + depends on EXPERIMENTAL
1.26 + help
1.27 + Defaults to emitting instructions in the THUMB mode.
1.28 +
1.29 +endchoice
1.30 +
1.31 +config ARCH_ARM_INTERWORKING
1.32 + bool
1.33 + prompt "Use Thumb-interworking (READ HELP)"
1.34 + default n
1.35 + depends on EXPERIMENTAL
1.36 + help
1.37 + Excerpt from the gcc manual:
1.38 +
1.39 + > Generate code which supports calling between the ARM and Thumb
1.40 + > instruction sets. Without this option the two instruction sets
1.41 + > cannot be reliably used inside one program. The default is
1.42 + > [not to use interwork], since slightly larger code is generated
1.43 + > when [interwork] is specified.
1.44 +
1.45 +config ARCH_ARM_EABI
1.46 + bool
1.47 + prompt "Use EABI"
1.48 + default y
1.49 + help
1.50 + Set up the toolchain so that it generates EABI-compliant binaries.
1.51 +
1.52 +config ARCH_ARM_ABI_OK
1.53 + bool
1.54 + default y
1.55 + depends on ! ARCH_ARM_EABI
1.56 + select ARCH_SUPPORT_ABI