Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2013-05-14 01:39:51 +0400
committerDJ Delorie <dj@redhat.com>2013-05-14 01:39:51 +0400
commit2f2a30423446f88e283f50f699bf7cc3c8cf74b8 (patch)
treeda1eb3018024b0d841f5de74df711564baeaf901 /newlib/configure.host
parente4ab61a8ab9b84a26fa22624e7049b50cafd4d19 (diff)
[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.host8
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
;;