Writing my linker script....

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
someprogr
Posts: 7
Joined: Mon Dec 24, 2007 12:44 pm

Writing my linker script....

Post by someprogr »

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?
Post Reply