mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-19 01:10:35 +00:00
Besides the removal of the legacy 'main' support, this patch simplifies the lib/startup/_main.cc. Issue #2199
19 lines
554 B
Plaintext
19 lines
554 B
Plaintext
/*
|
|
* Symbols that shall always be added to the section '.dynsym'
|
|
*/
|
|
{
|
|
/*
|
|
* The ctors and dtors symbols are not used by a dynamic program as such
|
|
* programs have no '_main' function. Hence the linker doesn't add them to
|
|
* the dynsym section by itself. However, we need to lookup the ctors and
|
|
* dtors arrays of the dynamic program in LDSO, which is why we must
|
|
* explicitely add them to the dynsym section.
|
|
*/
|
|
_ctors_start;
|
|
_ctors_end;
|
|
_dtors_start;
|
|
_dtors_end;
|
|
_ZN9Component9constructERN6Genode3EnvE;
|
|
_ZN9Component10stack_sizeEv;
|
|
};
|