From 5880fbf78343d90c3f8f3ae9dc9e1b3481e1b19b Mon Sep 17 00:00:00 2001
From: Jeff Johnston <jjohnstn@redhat.com>
Date: Tue, 9 Feb 2010 22:52:21 +0000
Subject: [PATCH] 2010-02-09  Daniel Gutson  <dgutson@codesourcery.com>

        * libc/machine/arm/arm_asm.h (_ISA_THUMB_2): __ARM_ARCH_7EM__
        added to the preprocessor condition.
---
 newlib/ChangeLog                  | 5 +++++
 newlib/libc/machine/arm/arm_asm.h | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index b5be19c24..e870a00ae 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-09  Daniel Gutson  <dgutson@codesourcery.com>
+
+	* libc/machine/arm/arm_asm.h (_ISA_THUMB_2): __ARM_ARCH_7EM__
+	added to the preprocessor condition.
+
 2010-02-09  Corinna Vinschen  <corinna@vinschen.de>
 
 	* libc/locale/lmessages.c (__messages_load_locale): Take additional
diff --git a/newlib/libc/machine/arm/arm_asm.h b/newlib/libc/machine/arm/arm_asm.h
index f8104ec3c..2e0b1dd80 100644
--- a/newlib/libc/machine/arm/arm_asm.h
+++ b/newlib/libc/machine/arm/arm_asm.h
@@ -51,7 +51,8 @@
 #define _ISA_ARM_4T
 #endif
 
-#if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7__)
+#if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7__) || \
+    defined (__ARM_ARCH_7EM__)
 #define _ISA_THUMB_2
 #endif