mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
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:
parent
3893dae673
commit
a100b37fdf
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user