Initial commit - UEFI application building
This commit is contained in:
32
src/arch/x86_64/kernel.ld
Normal file
32
src/arch/x86_64/kernel.ld
Normal file
@@ -0,0 +1,32 @@
|
||||
ENTRY(start)
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x100000;
|
||||
|
||||
.__mbHeader : {
|
||||
mboot = .;
|
||||
*(.__mbHeader)
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
|
||||
.text : {
|
||||
code = .;
|
||||
*(.text)
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
|
||||
.data : {
|
||||
data = .;
|
||||
*(.data)
|
||||
*(.rodata)
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
|
||||
.bss : {
|
||||
bss = .;
|
||||
*(.bss)
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
|
||||
end = .;
|
||||
}
|
||||
Reference in New Issue
Block a user