Explanations
- Creating small static binaries, ELF header hacks (notes on doing the same, on ARM)
- Process creation
- Dynamic linking
dnload: interesting read on all things sizecoding on mostly FreeBSD, but is applicable to Linux as well. Mostly correct and up-to-date, minus our smol hacks.
- vondehi
- smol: see dynamic linking
Interesting links
- ELF stuff (more than what's in the official docs)
- Glibc ld.so internals
- GNU hash sections, in-depth
- ILT's series of articles on all things linking
- "How we get to
main()
" (video) - "Everything you always wanted to know about Hello World" (video)
- link-time GNU hash stuff (src)
- runtime GNU hash stuff (src)
- "Linkers and loaders" (book, pdf), very extensive
- "Zero to main()": series on how C runtimes etc. work, but with a greater focus on embedded things