Skip to content

Commit 7c046ee

Browse files
authored
[libc] Include _Exit in the baremetal configuration (#98053)
This is implemented using `__llvm_libc_exit` which should be provided by the vendor and thus available in baremetal configurations.
1 parent d1f0ba6 commit 7c046ee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ set(TARGET_LIBC_ENTRYPOINTS
165165
libc.src.stdbit.stdc_trailing_zeros_us
166166

167167
# stdlib.h entrypoints
168+
libc.src.stdlib._Exit
168169
libc.src.stdlib.abort
169170
libc.src.stdlib.abs
170171
libc.src.stdlib.aligned_alloc

libc/config/baremetal/riscv/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ set(TARGET_LIBC_ENTRYPOINTS
161161
libc.src.stdbit.stdc_trailing_zeros_us
162162

163163
# stdlib.h entrypoints
164+
libc.src.stdlib._Exit
164165
libc.src.stdlib.abort
165166
libc.src.stdlib.abs
166167
libc.src.stdlib.aligned_alloc

0 commit comments

Comments
 (0)