summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/arm/swi.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/arm/swi.h')
-rw-r--r--newlib/libc/sys/arm/swi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/arm/swi.h b/newlib/libc/sys/arm/swi.h
index 0f9313447..b7fa243f8 100644
--- a/newlib/libc/sys/arm/swi.h
+++ b/newlib/libc/sys/arm/swi.h
@@ -36,7 +36,7 @@
#define AngelSWI AngelSWI_ARM
#endif
/* For thumb only architectures use the BKPT instruction instead of SWI. */
-#ifdef THUMB_V7M_V6M
+#ifdef THUMB_VXM
#define AngelSWIInsn "bkpt"
#define AngelSWIAsm bkpt
#else