Initial commit: kernel source and build scripts
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
ENTRY(_start);
|
||||
FORMAT(elf64-x86-64);
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Set the location counter to 0x100000 (1MB) */
|
||||
. = 0x100000;
|
||||
|
||||
/* Define the .text section at the current location */
|
||||
.text :
|
||||
{
|
||||
/* Put all .text sections from all input files here */
|
||||
*(.text)
|
||||
}
|
||||
|
||||
/* Define the .data section immediately after .text */
|
||||
.data :
|
||||
{
|
||||
/* Put all .data sections from all input files here */
|
||||
*(.data)
|
||||
}
|
||||
|
||||
/* Define the .bss section immediately after .data */
|
||||
.bss :
|
||||
{
|
||||
/* Put all .bss sections from all input files here */
|
||||
*(.bss)
|
||||
}
|
||||
|
||||
/* End of the linker script */
|
||||
}
|
||||
Reference in New Issue
Block a user