Feat: CPU Exceptions and load errors are now shown.
This commit is contained in:
@@ -1,36 +1,26 @@
|
||||
/* Linker script for SoraOS kernel */
|
||||
OUTPUT_FORMAT(binary)
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Set the location counter to 0x100000 (1MB) */
|
||||
. = 0x100000;
|
||||
/* Kernel loaded at 0x10000 (64KB) by stage2 bootloader */
|
||||
. = 0x10000;
|
||||
|
||||
.multiboot :
|
||||
{
|
||||
KEEP(*(.multiboot))
|
||||
}
|
||||
.text : {
|
||||
*(.text)
|
||||
}
|
||||
|
||||
/* Define the .text section at the current location */
|
||||
.text :
|
||||
{
|
||||
/* Put all .text sections from all input files here */
|
||||
*(.text)
|
||||
}
|
||||
.rodata : {
|
||||
*(.rodata)
|
||||
}
|
||||
|
||||
/* Define the .data section immediately after .text */
|
||||
.data :
|
||||
{
|
||||
/* Put all .data sections §from all input files here */
|
||||
*(.data)
|
||||
}
|
||||
.data : {
|
||||
*(.data)
|
||||
}
|
||||
|
||||
/* Define the .bss section immediately after .data */
|
||||
.bss :
|
||||
{
|
||||
/* Put all .bss sections from all input files here */
|
||||
*(.bss)
|
||||
}
|
||||
|
||||
/* End of the linker script */
|
||||
.bss : {
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user