This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] set SPU to not use atexit malloc by default


Change SPU to not use dynamic alloc for atexit by default, so we save
about 8000 bytes for some programs.

Index: my-base-quilt/newlib/configure.host
===================================================================
--- my-base-quilt.orig/newlib/configure.host
+++ my-base-quilt/newlib/configure.host
@@ -443,6 +443,7 @@ case "${host}" in
 	;;
   spu-*-*)
 	default_newlib_io_long_long="yes"
+	default_newlib_atexit_dynamic_alloc="no"
 	;;
   strongarm-*-*)
 	sys_dir=arm
Index: my-base-quilt/newlib/ChangeLog
===================================================================
--- my-base-quilt.orig/newlib/ChangeLog
+++ my-base-quilt/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-19  Patrick Mansfield <patmans@us.ibm.com>
+	* configure.host: build SPU with
+	default_newlib_atexit_dynamic_alloc="no"
+
 2007-02-08  Corinna Vinschen  <corinna@vinschen.de>
 
 	* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]