Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-08-30 01:00:59 +0400
committerJeff Johnston <jjohnstn@redhat.com>2006-08-30 01:00:59 +0400
commit859742654a68b800305144f6a49d87d0906f33d0 (patch)
tree433f1ec77ea9095e889dffa459b22d1d5dbe08e2
parentc1f828e56ecff44e0a9a00dd7ffd0fb70102d705 (diff)
2006-08-29 Paul Brook <paul@codesourcery.com>
* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/config.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a67a49acf..1cdb47b6a 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-29 Paul Brook <paul@codesourcery.com>
+
+ * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
+
2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
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