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
path: root/newlib
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-12-20 14:27:49 +0400
committerNick Clifton <nickc@redhat.com>2013-12-20 14:27:49 +0400
commit57cfbb7bbf1019520fb37deee8aa0c2cf82097b0 (patch)
tree127f598fb85658090feae915a80798260d64b168 /newlib
parent281924766d145019dc558e21aba60de3cd298e3d (diff)
* configure.host (newlib_cflags): Use -Os, -ffunction-sections and
-fdata-sections for RL78.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/configure.host7
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"