@ -1,10 +1,10 @@
.section .text,"ax",%progbits
.section .entry
.globl kern_entry
kern_entry:
la sp, bootstacktop
tail rust_main
.section .data
.align 12 #PGSHIFT
.global bootstack
bootstack:
@ -14,7 +14,8 @@ SECTIONS
. = BASE_ADDRESS;
.text : {
*(.text.kern_entry .text .stub .text.* .gnu.linkonce.t.*)
*(.entry)
*(.text .stub .text.* .gnu.linkonce.t.*)
}
PROVIDE(etext = .); /* Define the 'etext' symbol to this value */