[PATCH] Re-enable malloc_lock for newlib-nano

Andre Vieira (lists) Andre.SimoesDiasVieira@arm.com
Thu Jun 16 11:24:00 GMT 2016


Hello,

This patch re-enables the use of __malloc_lock and __malloc_unlock for
newlib-nano, re-tieing it to the newlib-multithread option. This change
makes sure a newlib-nano implementation can implement these two
functions by overwriting and otherwise they will be empty stubs.

Tested for on arm-none-eabi with both newlib and newlib-nano configurations.

Is this OK?

Cheers,
Andre

LOG:
Re-enable the use of __malloc_lock and __malloc_unlock newlib-nano, tied
the newlib-multithread.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tie-the-use-of-__malloc_lock-to-newlib-multithread-o.patch
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160616/1ea8fccf/attachment.bin>


More information about the Newlib mailing list