[libc] Pull crt0 out into its own module

Sorta. crt0 is a separate module as far as bonnibel is concerned, but it's
still part of the libc module file.
This commit is contained in:
Justin C. Miller
2024-02-13 22:41:40 -08:00
parent 75d30fb56d
commit ba6e8e1349
7 changed files with 28 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
extern "C" {
// Stub out these libdl functions for libunwind until
// we have a real libdl
int dladdr(const void *, void *) { return 0; }
int dl_iterate_phdr(void *, void *) { return 0; }
}