crt0 (also known as c0) is a set of execution startup routines compiled into a program which perform any initialization work required before calling the program's main function – it is a basic runtime library/run-time system. The work performed by crt0 depends on the program's language, compiler, operating system and C standard library implementation.
"crt" stands for "C runtime" (the zero stands for "the very beginning"). However, when compiling using GCC, it is also included for other languages than C. More formally, crt0 is an object file called crt0.o, which is generally written in assembly language, and then linked by the linker to the object file complied from the (C or other language) source code.
- Crt0, OSDev Wiki
|This computer programming-related article is a stub. You can help Wikipedia by expanding it.|