summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-26 22:11:10 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-26 22:11:10 (GMT)
commitc916a69abf35495e4ad0bd2d4d35cb987bf1783a (patch)
treed2bc29bc6796fe6532d5765779dd73d4ba8eb2cc /config
parentd2324af8c753a0d16d4e687f26965d286659a8f8 (diff)
arch/arm: add THUMB interworking support
Add config option to build wtarget code with THUMB interworking. This is used to build the C library as well as all other code that runs on the target.
Diffstat (limited to 'config')
-rw-r--r--config/arch/arm.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/arch/arm.in b/config/arch/arm.in
index 4dc2eaf..6daa603 100644
--- a/config/arch/arm.in
+++ b/config/arch/arm.in
@@ -38,6 +38,20 @@ config ARCH_ARM_MODE_THUMB
endchoice
+config ARCH_ARM_INTERWORKING
+ bool
+ prompt "Use Thumb-interworking (READ HELP)"
+ default n
+ depends on EXPERIMENTAL
+ help
+ Excerpt from the gcc manual:
+
+ > Generate code which supports calling between the ARM and Thumb
+ > instruction sets. Without this option the two instruction sets
+ > cannot be reliably used inside one program. The default is
+ > [not to use interwork], since slightly larger code is generated
+ > when [interwork] is specified.
+
config ARCH_ARM_EABI
bool
prompt "Use EABI"