chore: update Makefile and linker
This commit is contained in:
1 parent
3dc51d6022
commit
ece1767ac9
2 files changed
+180
-5
No files matched your search
@@ -19,6 +19,7 @@ SECTIONS
|
||||
{
|
||||
*(.multiboot)
|
||||
*(.boot.text)
|
||||
*(.boot.data)
|
||||
. = ALIGN(4096);
|
||||
*(.boot.pagetables)
|
||||
} :boot
|
||||
@@ -33,6 +34,10 @@ SECTIONS
|
||||
.rodata ALIGN(4096) : AT(ADDR(.rodata) - KERNEL_VMA)
|
||||
{
|
||||
*(.rodata .rodata.*)
|
||||
. = ALIGN(8);
|
||||
ktestArrayStart = .;
|
||||
KEEP(*(.ktests .ktests.*))
|
||||
ktestArrayEnd = .;
|
||||
} :rodata
|
||||
|
||||
.data ALIGN(4096) : AT(ADDR(.data) - KERNEL_VMA)
|
||||
|
||||
Reference in new issue
Block a user