diff options
author | DJ Delorie <dj@redhat.com> | 2013-05-13 21:39:51 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2013-05-13 21:39:51 +0000 |
commit | 2f2a30423446f88e283f50f699bf7cc3c8cf74b8 (patch) | |
tree | da1eb3018024b0d841f5de74df711564baeaf901 /newlib/libc/include/sys/config.h | |
parent | e4ab61a8ab9b84a26fa22624e7049b50cafd4d19 (diff) | |
download | cygnal-2f2a30423446f88e283f50f699bf7cc3c8cf74b8.tar.gz cygnal-2f2a30423446f88e283f50f699bf7cc3c8cf74b8.tar.bz2 cygnal-2f2a30423446f88e283f50f699bf7cc3c8cf74b8.zip |
[newlib]
* configure.host (msp430): Add.
* libc/include/machine/ieeefp.h: Add MSP430 support.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/configure.in (msp430): Add.
* libc/machine/configure: Regenerate.
* libc/machine/msp430: New directory.
[libgloss]
* configure.in (msp430*-*-elf): Add.
* configure: Regenerate.
* msp430: New directory.
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r-- | newlib/libc/include/sys/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index b26017b99..a641c4b29 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -145,6 +145,21 @@ #define __BUFSIZ__ 16 #define _REENT_SMALL #endif + +#if defined __MSP430__ +#ifndef _REENT_SMALL +#define _REENT_SMALL +#endif + +#define __SMALL_BITFIELDS + +#ifdef __MSP430X_LARGE__ +#define _POINTER_INT long +#else +#define _POINTER_INT int +#endif +#endif + #ifdef __m32c__ #define __SMALL_BITFIELDS #undef INT_MAX |