0
Suggestions for making your OS
1. Use a linker script.I had lots of trouble with my kernel until I used a linker script. Basically, the linker script assures that your kernel gets linked into the right order(text,data,bss). Here is an example linker script for a kernel loaded at 0xFF80000(John Fine's bootf2.zip bootsector does this). Note that this linkere script is for LD: