If you believe that main() is the first bit of code that gets to run, and ever wondered how globals are initialized then, this article is just for you: http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html
Now I need to find something about dynamic linkers and what happens between mmapping an ELF into memory and calling _start. Any pointers?
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.