mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
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
12 lines
159 B
Makefile
12 lines
159 B
Makefile
SRC_CC = plugin.cc
|
|
|
|
LIBS += libc
|
|
|
|
REP_INC_DIR += src/lib/libc
|
|
|
|
INC_DIR += $(BASE_DIR)/src/base/env/
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/libc_noux
|
|
|
|
SHARED_LIB = yes
|