feat: add initial impl of efi-stub and kernel
This commit is contained in:
29
arch/x86/kernel_bin.ld
Normal file
29
arch/x86/kernel_bin.ld
Normal file
@@ -0,0 +1,29 @@
|
||||
OUTPUT_ARCH(i386:x86_64)
|
||||
ENTRY(kernel_start)
|
||||
SECTIONS {
|
||||
.text : {
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
}
|
||||
|
||||
.rodata : {
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
.data : {
|
||||
*(.data)
|
||||
*(.data.*)
|
||||
}
|
||||
.bss : {
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
}
|
||||
|
||||
.pgtable : {
|
||||
*(.pgtable)
|
||||
}
|
||||
|
||||
. = ALIGN(0x1000);
|
||||
}
|
||||
Reference in New Issue
Block a user