[libc] Add stubbed-out stdio and libdl functions

In order to fix link errors with libunwind, stub out these functions for
now.
This commit is contained in:
Justin C. Miller
2022-02-09 18:51:02 -08:00
parent 57b2d6dbd8
commit c0ae77cd64
9 changed files with 39 additions and 0 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; }
}