Fix linker RWX warning
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user