Programming, for all ages and all languages.
aflag
Posts: 1 Joined: Thu Jan 22, 2009 10:11 pm
Post
by aflag » 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:
Code: Select all
. = 0x1000000;
.start : {
*(.start)
}
. = 0xc0000000;
but if I do this
Code: Select all
. = 0x1000000;
.start : {
*(.start)
}
. += 0xc0000000;
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.
Love4Boobies
Member
Posts: 2111 Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania
Post
by Love4Boobies » Sat Jan 24, 2009 5:17 pm
Would you mind showing us the rest of the script? Also, what format would we be talking about?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[
Project UDI ]