Skip to content

Commit e30362d

Browse files
PiJoulesAlexisPerry
authored andcommitted
[libc][config] Add malloc as baremetal arm entrypoint (llvm#95827)
1 parent 97b07c3 commit e30362d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,20 @@ set(TARGET_LIBC_ENTRYPOINTS
167167
# stdlib.h entrypoints
168168
libc.src.stdlib.abort
169169
libc.src.stdlib.abs
170+
libc.src.stdlib.aligned_alloc
170171
libc.src.stdlib.atoi
171172
libc.src.stdlib.atof
172173
libc.src.stdlib.atol
173174
libc.src.stdlib.atoll
174175
libc.src.stdlib.bsearch
176+
libc.src.stdlib.calloc
175177
libc.src.stdlib.div
178+
libc.src.stdlib.free
176179
libc.src.stdlib.labs
177180
libc.src.stdlib.ldiv
178181
libc.src.stdlib.llabs
179182
libc.src.stdlib.lldiv
183+
libc.src.stdlib.malloc
180184
libc.src.stdlib.qsort
181185
libc.src.stdlib.rand
182186
libc.src.stdlib.srand

libc/config/baremetal/riscv/entrypoints.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,20 @@ set(TARGET_LIBC_ENTRYPOINTS
163163
# stdlib.h entrypoints
164164
libc.src.stdlib.abort
165165
libc.src.stdlib.abs
166+
libc.src.stdlib.aligned_alloc
166167
libc.src.stdlib.atoi
167168
libc.src.stdlib.atof
168169
libc.src.stdlib.atol
169170
libc.src.stdlib.atoll
170171
libc.src.stdlib.bsearch
172+
libc.src.stdlib.calloc
171173
libc.src.stdlib.div
174+
libc.src.stdlib.free
172175
libc.src.stdlib.labs
173176
libc.src.stdlib.ldiv
174177
libc.src.stdlib.llabs
175178
libc.src.stdlib.lldiv
179+
libc.src.stdlib.malloc
176180
libc.src.stdlib.qsort
177181
libc.src.stdlib.rand
178182
libc.src.stdlib.srand

0 commit comments

Comments
 (0)