diff options
author | Paul Brook <paul@codesourcery.com> | 2006-08-29 20:26:58 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-08-29 20:26:58 +0000 |
commit | 7d761d196581d42c21769c4fde2f75a74047e526 (patch) | |
tree | dbc53e08d1f7e6bba51f2f20f7786b51e1ad4bcb /newlib | |
parent | ffe60f8edaf49afb96f6e9182fea1fbb67b8f3f2 (diff) | |
download | cygnal-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.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/include/sys/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |