summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-08-29 20:26:58 +0000
committerPaul Brook <paul@codesourcery.com>2006-08-29 20:26:58 +0000
commit7d761d196581d42c21769c4fde2f75a74047e526 (patch)
treedbc53e08d1f7e6bba51f2f20f7786b51e1ad4bcb
parentffe60f8edaf49afb96f6e9182fea1fbb67b8f3f2 (diff)
downloadcygnal-7d761d196581d42c21769c4fde2f75a74047e526.tar.gz
cygnal-7d761d196581d42c21769c4fde2f75a74047e526.tar.bz2
cygnal-7d761d196581d42c21769c4fde2f75a74047e526.zip
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/ * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
-rw-r--r--ChangeLog.csl5
-rw-r--r--newlib/libc/include/sys/config.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 1403d6f81..aa1ce2561 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,8 @@
+2006-08-29 Paul Brook <paul@codesourcery.com>
+
+ newlib/
+ * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
+
2006-08-25 Nathan Sidwell <nathan@codesourcery.com>
libgloss/
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index c4e4dba9a..260a1bd7b 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -121,6 +121,10 @@
#define _REENT_SMALL
#endif /* __m32c__ */
+#ifdef __thumb2__
+/* Thumb-2 based ARMv7M devices are really small. */
+#define _REENT_SMALL
+#endif
/* This block should be kept in sync with GCC's limits.h. The point
of having these definitions here is to not include limits.h, which