diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-08-29 21:00:59 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-08-29 21:00:59 +0000 |
commit | 859742654a68b800305144f6a49d87d0906f33d0 (patch) | |
tree | 433f1ec77ea9095e889dffa459b22d1d5dbe08e2 | |
parent | c1f828e56ecff44e0a9a00dd7ffd0fb70102d705 (diff) | |
download | cygnal-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.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/config.h | 4 |
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 |