b8000952ca
This has almost the same layout as in BeOS - the only difference is crt0.o which is what is usually provided by crti.o/crtbegin.o/crtend.o/crtn.o. When we want to move to GCC's crtbegin/end code, we have to introduce crti.o and crtn.o. This is required because the crtbegin/end stuff assumes to be inserted between a function start (crti.o) and a function end (crtn.o) - which can only be achieved with assembly, and is therefore platform dependent. start_dyn.c is used for executables and calls main() (among other). init_term_dyn.c functions are called from the .init/.fini sections and search for B_INIT/TERM_BEFORE/AFTER_FUNCTION_NAME, and execute them if they are present. Both use BeOS compatible call scheme but add parameters to the end. lib0.c is no longer needed, because init_term.c/crt0.c replace its functionality. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2448 a95241bf-73f2-0310-859d-f6bbb57e9c96
9 lines
91 B
Plaintext
Executable File
9 lines
91 B
Plaintext
Executable File
SubDir OBOS_TOP src kernel glue ;
|
|
|
|
KernelObjects
|
|
crt0.c
|
|
init_term_dyn.c
|
|
start_dyn.c
|
|
;
|
|
|