I'm in the process of writing my linker script im going to use for my kernel.
I've decided to use binutils (gcc, gas, ld.. the usuals) and was just wondering if theres any specific parts of memory I should start my .text, .data, or .bss sections. Whats the deal with Aligning as well?
Do you guys think I should even use a custom script or use the default (then again im not too sure what binutils uses as the default)?
Do you guys think this is real important for the kernel to begin with, or is this something that is really unncessary all together.... Thanks.
-- Also, can someone explain what the deal is with executable formats.... I mean, you are able to specifiy what format you want to use with the linker: ELF, PE etc.
But where would I start researching if I want to make my own up?