diff options
author | Nick Clifton <nickc@redhat.com> | 2013-12-20 10:27:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-12-20 10:27:49 +0000 |
commit | 57cfbb7bbf1019520fb37deee8aa0c2cf82097b0 (patch) | |
tree | 127f598fb85658090feae915a80798260d64b168 | |
parent | 281924766d145019dc558e21aba60de3cd298e3d (diff) | |
download | cygnal-57cfbb7bbf1019520fb37deee8aa0c2cf82097b0.tar.gz cygnal-57cfbb7bbf1019520fb37deee8aa0c2cf82097b0.tar.bz2 cygnal-57cfbb7bbf1019520fb37deee8aa0c2cf82097b0.zip |
* configure.host (newlib_cflags): Use -Os, -ffunction-sections and
-fdata-sections for RL78.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/configure.host | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index c334de9a1..a4599e4dd 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2013-12-20 Nick Clifton <nickc@redhat.com> + + * configure.host (newlib_cflags): Use -Os, -ffunction-sections and + -fdata-sections for RL78. + 2013-12-19 Corinna Vinschen <vinschen@redhat.com> * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in diff --git a/newlib/configure.host b/newlib/configure.host index f4a80bbc6..58faa953b 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-* | :msp430*-* | :nds32* ) + :m32r-* | :d10v-* | :d30v-* | :avr-* | :m32c-* | :msp430*-* | :nds32* | :rl78-* ) newlib_cflags="${newlib_cflags} -Os" ;; no:* | :*) @@ -252,6 +252,7 @@ case "${host_cpu}" in rl78) machine_dir=rl78 newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY" + newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections " ;; rx) machine_dir=rx @@ -290,8 +291,8 @@ case "${host_cpu}" in machine_dir=x86_64 ;; xc16x*) - machine_dir=xc16x - ;; + machine_dir=xc16x + ;; xstormy16) machine_dir=xstormy16 newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" |