Fix linker RWX warning

This commit is contained in:
2025-07-20 23:17:40 +02:00
parent a5ef7a0906
commit 76b4979067
4 changed files with 23 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
.global kernel_main, __bss, __bss_end, __stack_top
.global _entry, __bss, __bss_end, __stack_top
.section .rodata
@@ -215,7 +215,7 @@ panic:
ret
.section .text.boot
boot:
_entry:
la t0, __stack_top
mv sp, t0 # Set the stack pointer