metalsvm/link.ld
stefan a9043ebf72 - create GDTs for user applications (ring 3)
- rename section osstart to multiboot


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@43 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 12:41:38 +00:00

29 lines
419 B
Text

OUTPUT_FORMAT("binary")
ENTRY(start)
phys = 0x00100000;
kernel_start = .;
SECTIONS
{
.text phys : AT(phys) {
code = .;
*(multiboot)
*(.text)
*(.rodata)
. = ALIGN(4096);
}
.data : AT(phys + (data - code))
{
data = .;
*(.data)
. = ALIGN(4096);
}
.bss : AT(phys + (bss - code))
{
bss = .;
*(.bss)
. = ALIGN(4096);
}
end = .;
}
. = ALIGN(4096);
kernel_end = .;