This is the mail archive of the
mailing list for the newlib project.
RE: [PATCH newlib]An alternative implementation of malloc family's functions with small foot-print
- From: "Bin Cheng" <bin dot cheng at arm dot com>
- To: "Bin Cheng" <Bin dot Cheng at arm dot com>, <newlib at sourceware dot org>
- Date: Mon, 27 May 2013 14:17:49 +0800
- Subject: RE: [PATCH newlib]An alternative implementation of malloc family's functions with small foot-print
- References: <004501ce4fad$4301c8d0$c9055a70$ at email@example.com>
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com] On
> Behalf Of Bin Cheng
> Sent: Monday, May 13, 2013 3:41 PM
> To: firstname.lastname@example.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
> small foot-print.
> We have discussed before how to integrate the code with newlib and it
> reasonable to have a configuration option to control it.
> So this patch introduces new implementation of malloc functions in file
> mallocr.c" and a new option "--enable-newlib-nano-malloc" to control it.
> 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
> Tools for ARM Embedded Processor and used for a while, is it OK? Any
> will be highly appreciated.
> As for the documentation, I will try to describe newlib's configuration
> options including this one in readme later.
> ChangeLog entry is:
> 2013-05-13 Joey Ye <email@example.com>
> Bin Cheng <firstname.lastname@example.org>
> * 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?