summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-08-29 21:00:59 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-08-29 21:00:59 +0000
commit859742654a68b800305144f6a49d87d0906f33d0 (patch)
tree433f1ec77ea9095e889dffa459b22d1d5dbe08e2 /newlib/libc/include/sys
parentc1f828e56ecff44e0a9a00dd7ffd0fb70102d705 (diff)
downloadcygnal-859742654a68b800305144f6a49d87d0906f33d0.tar.gz
cygnal-859742654a68b800305144f6a49d87d0906f33d0.tar.bz2
cygnal-859742654a68b800305144f6a49d87d0906f33d0.zip
2006-08-29 Paul Brook <paul@codesourcery.com>
* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
Diffstat (limited to 'newlib/libc/include/sys')
-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