mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[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:
7
src/libraries/libc/arch/amd64/crt/libdl.cpp
Normal file
7
src/libraries/libc/arch/amd64/crt/libdl.cpp
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user