diff --git a/base/src/platform/init_main_thread.cc b/base/src/platform/init_main_thread.cc index 74579c44f6..18184f5d5f 100644 --- a/base/src/platform/init_main_thread.cc +++ b/base/src/platform/init_main_thread.cc @@ -31,6 +31,12 @@ void prepare_init_main_thread(); enum { MAIN_THREAD_STACK_SIZE = 16UL * 1024 * sizeof(Genode::addr_t) }; +/** + * Satisfy crt0.s in static programs, LDSO overrides this symbol + */ +extern "C" void init_rtld() __attribute__((weak)); +void init_rtld() { } + /** * The first thread in a program */