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/configure.host | |
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/configure.host')
-rw-r--r-- | newlib/configure.host | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 404151f06..f19fa1580 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -79,7 +79,7 @@ case "${target_optspace}:${host}" in yes:*) newlib_cflags="${newlib_cflags} -Os" ;; - :m32r-* | :d10v-* | :d30v-* | :avr-* | :m32c-* ) + :m32r-* | :d10v-* | :d30v-* | :avr-* | :m32c-* | :msp430*-* ) newlib_cflags="${newlib_cflags} -Os" ;; no:* | :*) @@ -224,6 +224,12 @@ case "${host_cpu}" in moxie) machine_dir=moxie ;; + msp430*) + newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY" + newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections " + newlib_cflags="${newlib_cflags} -mOs " + machine_dir=msp430 + ;; mt*) machine_dir=mt ;; |