linker script vs grub
Posted: Thu Jan 22, 2009 10:19 pm
Grub say that the format is invalid (error 13) if I do something like this on the linker script:
but if I do this
grub doesn't complain at all. Why does that happen? I intend to place my kernel at 16MB physical address and it should start at 0xc0000000 on virtual address.
Code: Select all
. = 0x1000000;
.start : {
*(.start)
}
. = 0xc0000000;
Code: Select all
. = 0x1000000;
.start : {
*(.start)
}
. += 0xc0000000;