base: provide a weak init_rtld dummy in base lib

This is needed later to eliminate LDSO specific CRT0 implementations.

Issue #1042
This commit is contained in:
Martin Stein 2014-02-05 14:43:32 +01:00 committed by Norman Feske
parent 3893dae673
commit a100b37fdf

View File

@ -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
*/