test: Misc updates to the linker script

This commit is contained in:
mintsuki 2023-06-15 00:52:59 +02:00
parent 264decd0ef
commit 45fd1ac08f

View File

@ -14,7 +14,7 @@ SECTIONS
kernel_start = .;
.text : {
*(.text*)
*(.text .text.*)
} :text
. += 0x1000;
@ -25,13 +25,15 @@ SECTIONS
} :rodata
.rodata : {
*(.rodata*)
*(.rodata .rodata.*)
} :rodata
. += 0x1000;
.data : {
*(.data*)
*(.data .data.*)
__global_pointer$ = . + 0x800;
*(.sdata .sdata.*)
} :data
.dynamic : {
@ -40,6 +42,7 @@ SECTIONS
.bss : {
*(COMMON)
*(.bss*)
*(.sbss .sbss.*)
*(.bss .bss.*)
} :data
}