From 9e19704a6a04786f65478b9e9aeb470c6d1e277c Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Thu, 23 Jun 2011 15:42:19 +0100 Subject: [PATCH] ARM: enable thumb for Cortex-M* CPUs These CPUs are thumb-only and thus require this option. Signed-off-by: Mans Rullgard --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0f2bd06..f557482 100755 --- a/configure +++ b/configure @@ -2270,7 +2270,7 @@ elif enabled arm; then case $cpu in cortex-a*) subarch=armv7a ;; cortex-r*) subarch=armv7r ;; - cortex-m*) subarch=armv7m ;; + cortex-m*) enable thumb; subarch=armv7m ;; arm11*) subarch=armv6 ;; arm[79]*e*|arm9[24]6*|arm96*|arm102[26]) subarch=armv5te ;; armv4*|arm7*|arm9[24]*) subarch=armv4 ;; -- 2.7.4