mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
Fancier limine and WAY faster boot
This commit is contained in:
14
linker.ld
14
linker.ld
@@ -15,6 +15,12 @@ SECTIONS
|
||||
*(.rodata*)
|
||||
}
|
||||
|
||||
.requests : {
|
||||
KEEP(*(.requests_start))
|
||||
KEEP(*(.requests))
|
||||
KEEP(*(.requests_end))
|
||||
}
|
||||
|
||||
.data : {
|
||||
*(.data*)
|
||||
}
|
||||
@@ -24,14 +30,6 @@ SECTIONS
|
||||
*(.bss*)
|
||||
}
|
||||
|
||||
/* Limine requests section */
|
||||
.requests : {
|
||||
KEEP(*(.requests_start))
|
||||
KEEP(*(.requests))
|
||||
KEEP(*(.requests_end))
|
||||
}
|
||||
|
||||
/* Discard unnecessary sections */
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
|
||||
Reference in New Issue
Block a user