x64 gcc: kernel binary grows up to 1MB

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.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:x64 gcc: kernel binary grows up to 1MB

Post by Candy »

Guest wrote: I played a bit with the starting addresses.
I found out that if i link the elf file to 1MB align addresses such
as 0x100000, 0x200000... the file will be 1MB
If i link the file to 0x200100 i get a 1.32kb output file.

Why ??
What if you put it at 0x1FFF00 ?
Post Reply