diff options
author | Paul Brook <paul@codesourcery.com> | 2006-08-30 00:26:58 +0400 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-08-30 00:26:58 +0400 |
commit | 7d761d196581d42c21769c4fde2f75a74047e526 (patch) | |
tree | dbc53e08d1f7e6bba51f2f20f7786b51e1ad4bcb | |
parent | ffe60f8edaf49afb96f6e9182fea1fbb67b8f3f2 (diff) |
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/
* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
-rw-r--r-- | ChangeLog.csl | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/config.h | 4 |
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 |