File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ set(TARGET_LIBC_ENTRYPOINTS
176
176
libc.src.stdlib.calloc
177
177
libc.src.stdlib.div
178
178
libc.src.stdlib.free
179
+ libc.src.stdlib.freelist_malloc
179
180
libc.src.stdlib.labs
180
181
libc.src.stdlib.ldiv
181
182
libc.src.stdlib.llabs
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ set(TARGET_LIBC_ENTRYPOINTS
172
172
libc.src.stdlib.calloc
173
173
libc.src.stdlib.div
174
174
libc.src.stdlib.free
175
+ libc.src.stdlib.freelist_malloc
175
176
libc.src.stdlib.labs
176
177
libc.src.stdlib.ldiv
177
178
libc.src.stdlib.llabs
Original file line number Diff line number Diff line change @@ -392,7 +392,8 @@ else()
392
392
COMPILE_OPTIONS
393
393
-DLIBC_FREELIST_MALLOC_SIZE=${LIBC_CONF_FREELIST_MALLOC_BUFFER_SIZE}
394
394
)
395
- if (LIBC_TARGET_OS_IS_BAREMETAL)
395
+ get_target_property (freelist_malloc_is_skipped libc.src.stdlib.freelist_malloc "SKIPPED" )
396
+ if (LIBC_TARGET_OS_IS_BAREMETAL AND NOT freelist_malloc_is_skipped)
396
397
add_entrypoint_object(
397
398
malloc
398
399
ALIAS
You can’t perform that action at this time.
0 commit comments