zephyr/lib/libc/minimal
Dylan Hung f0ea22b538 libc/minimal: locate the memory pool for malloc() to .bss
When CONFIG_USERSPACE is turned off, the POOL_SECTION will be located in
.data section.  This will increase the target binary size.  Since the
memory pool is for malloc() use and it doesn't need for initial values,
locate it in the .bss section to reduce binary size.

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
Change-Id: Iee52ac06a48414c083518c79775fe31334eab674
2021-09-10 10:59:25 -04:00
..
include libc: types: suppress deviation 2021-08-24 07:23:02 -04:00
source libc/minimal: locate the memory pool for malloc() to .bss 2021-09-10 10:59:25 -04:00
CMakeLists.txt libc: minimal: Add rand() and srand() 2021-07-20 13:32:36 -04:00