OSDN Git Service

2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
authorjjohnstn <jjohnstn>
Wed, 16 Aug 2006 21:51:13 +0000 (21:51 +0000)
committerjjohnstn <jjohnstn>
Wed, 16 Aug 2006 21:51:13 +0000 (21:51 +0000)
        * configure.host (newlib_cflags) [spu]: Add special compiler
        options to reduce size.

newlib/ChangeLog
newlib/configure.host

index 8dfed0c..09b648e 100644 (file)
@@ -1,5 +1,10 @@
 2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
 
+        * configure.host (newlib_cflags) [spu]: Add special compiler
+        options to reduce size.
+
+2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
+
        * configure.host: Add spu support.
        * libc/include/stdint.h: Ditto.
        * libc/include/machine/ieeefp.h: Ditto.
index 23f5f03..60eec0e 100644 (file)
@@ -250,6 +250,7 @@ case "${host_cpu}" in
        ;;
   spu)
        machine_dir=spu
+       newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections "
        ;;
   *)
        echo '***' "Newlib does not support CPU ${host_cpu}" 1>&2