aboutsummaryrefslogtreecommitdiff
path: root/libgloss/arm/trap.S
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-13 15:06:21 +0000
committerNick Clifton <nickc@redhat.com>2011-07-13 15:06:21 +0000
commit415e1ecce4374a99c49b2e813ecc6b525fea1a69 (patch)
tree0abcb18a2db2ca309f662be31a4a8c0f2e21b787 /libgloss/arm/trap.S
parent1d15e018c78614860322e074b8f9ff24d829637f (diff)
downloadnewlib-415e1ecce4374a99c49b2e813ecc6b525fea1a69.zip
newlib-415e1ecce4374a99c49b2e813ecc6b525fea1a69.tar.gz
newlib-415e1ecce4374a99c49b2e813ecc6b525fea1a69.tar.bz2
* arm/crt0.S: Support armv6-m processors in libgloss.
* arm/swi.h: Likewise. * arm/trap.S: Likewise. * arm/redboot-crt0.S: Likewise. * arm/linux-crt0.c: Likewise. * arm/arm.h: New.
Diffstat (limited to 'libgloss/arm/trap.S')
-rw-r--r--libgloss/arm/trap.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgloss/arm/trap.S b/libgloss/arm/trap.S
index 21b6937..9eb3906 100644
--- a/libgloss/arm/trap.S
+++ b/libgloss/arm/trap.S
@@ -1,5 +1,6 @@
+#include "arm.h"
/* Run-time exception support */
-#if !defined(__thumb2__)
+#ifndef THUMB_V7_V6M
#include "swi.h"
/* .text is used instead of .section .text so it works with arm-aout too. */