0b64328944
For a main thread a thread object is created by the CRT0 before _main gets called so that _main can already run in a generic environment that, e.g., catches stack overflows as a page-fault instead of corrupting the BSS. Additionally dynamic programs have only one CRT0 - the one of the LDSO - which does the initialization for both LDSO and program. ref #989 |
||
---|---|---|
.. | ||
arm | ||
x86_32 | ||
x86_64 | ||
_main.cc | ||
_main_parent_cap.h | ||
cap_copy.cc | ||
genode.ld | ||
init_main_thread.cc |