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]

RE: [PATCH newlib]An alternative implementation of malloc family's functions with small foot-print



> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org] On
> Behalf Of Bin Cheng
> Sent: Monday, May 13, 2013 3:41 PM
> To: newlib@sourceware.org
> Subject: [PATCH newlib]An alternative implementation of malloc family's
> functions with small foot-print
> 
> Hi all,
> 
> As a part of our library work in GNU Tools for ARM Embedded Processors, we
> implemented an alternative implementation of malloc family's functions
with
> small foot-print.
> 
> We have discussed before how to integrate the code with newlib and it
seems
> reasonable to have a configuration option to control it.
> 
> So this patch introduces new implementation of malloc functions in file
"nano-
> mallocr.c" and a new option "--enable-newlib-nano-malloc" to control it.
The
> option is disabled by default so it won't change the default behavior.
> 
> We have done lots of internal review work and the code has been applied in
GNU
> Tools for ARM Embedded Processor and used for a while, is it OK? Any
comments
> will be highly appreciated.
> 
> As for the documentation, I will try to describe newlib's configuration
> options including this one in readme later.
> 
> Thanks.
> 
> ChangeLog entry is:
> 
> 2013-05-13  Joey Ye  <joey.ye@arm.com>
> 	    Bin Cheng  <bin.cheng@arm.com>
> 	* configure.in (--enable-newlib-nano-malloc): New option.
> 	* configure: Regenerated.
> 	* libc/configure.in (--enable-newlib-nano-malloc): New option.
> 	* libc/configure: Regenerated.
> 	* libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use.
> 	* libc/stdlib/Makefile.in: Regenerated.
> 	* libc/stdlib/nano-mallocr.c: New file, implementing nano
> 	version malloc family functions.

Ping, any comments?

Thanks.




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