This document discusses how boot code can be generated using C code. Specifically addressed is how to use the -c option in the linker to build a single code section that includes the .text .cinit .bss etc. sections that you want to be in the boot code.