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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
You are doing incremental linking. The output of this command is not suitable for being run directly as kernel binary.
There's a decent tutorial on how to compile and link a kernel, which includes linker scripts.
EDIT: If you solved it yourself, could you please post your solution for reference?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]