Kernel: Fix linker script

I have no idea why rodata was executable :D
This commit is contained in:
Bananymous 2024-01-30 17:32:50 +02:00
parent 95e861bcdd
commit 139bb5c2a5
1 changed files with 1 additions and 1 deletions

View File

@ -19,11 +19,11 @@ SECTIONS
g_userspace_start = .;
*(.userspace)
g_userspace_end = .;
g_kernel_execute_end = .;
}
.rodata ALIGN(4K) : AT(ADDR(.rodata) - KERNEL_OFFSET)
{
*(.rodata.*)
g_kernel_execute_end = .;
}
.data ALIGN(4K) : AT(ADDR(.data) - KERNEL_OFFSET)
{