commit | f0ea22b5384178749b7550d6ca24031a63175de5 | [log] [tgz] |
---|---|---|
author | Dylan Hung <dylan_hung@aspeedtech.com> | Tue Sep 07 14:36:36 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Sep 10 10:59:25 2021 -0400 |
tree | 9f7a75032d4727695c09c9f3583d4006325c0f1a | |
parent | ecbfc1172ac04f4b3e239cfbbc8e4975e8193edf [diff] |
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