aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/conf
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/conf')
-rw-r--r--arch/riscv64/conf/init-link.S7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/riscv64/conf/init-link.S b/arch/riscv64/conf/init-link.S
index 0933fbb..2f48814 100644
--- a/arch/riscv64/conf/init-link.S
+++ b/arch/riscv64/conf/init-link.S
@@ -15,7 +15,7 @@ SECTIONS {
final binary
*/
.text ALIGN(4K) : AT(0) {
- *(.init.start)
+ *(.init*)
*(.text*);
}
@@ -31,10 +31,7 @@ SECTIONS {
*(.sbss*) *(.bss*) *(COMMON)
}
- .top : {
- *(.top*)
- }
-
+ __kernel = .;
__kernel_size = <KERNEL_SIZE>;
.garbage : {