We rely on the compiler to be correctly set up to generate code
in the correct mode by default.

Signed-off-by: "Yann E. MORIN" <[email protected]>
Cc: Khem Raj <[email protected]>
Cc: Bernhard Reutner-Fischer <[email protected]>
Cc: Carmelo AMOROSO <[email protected]>
---
 Rules.mak                |    1 -
 extra/Configs/Config.arm |    4 ----
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/Rules.mak b/Rules.mak
index b32217f..752e1cf 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -332,7 +332,6 @@ ifeq ($(TARGET_ARCH),arm)
        OPTIMIZATION+=-fstrict-aliasing
        CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-mlittle-endian
        CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mbig-endian
-       CPU_CFLAGS-$(CONFIG_ARM_MODE_THUMB)+=-mthumb
 endif
 
 ifeq ($(TARGET_ARCH),mips)
diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
index f36126d..f633d38 100644
--- a/extra/Configs/Config.arm
+++ b/extra/Configs/Config.arm
@@ -30,10 +30,6 @@ config CONFIG_ARM_EABI
 
 endchoice
 
-config ARM_MODE_THUMB
-       bool "Build using Thumb mode"
-       select USE_BX
-
 config USE_BX
        bool "Use BX in function return"
        help
-- 
1.7.1

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to