summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r--newlib/libc/include/sys/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index dc6264333..1f3c3e03d 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -125,6 +125,10 @@
#define _REENT_SMALL
#endif /* __m32c__ */
+#ifdef __thumb2__
+/* Thumb-2 based ARMv7M devices are really small. */
+#define _REENT_SMALL
+#endif
#ifdef __SPU__
#define MALLOC_ALIGNMENT 16