diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-05-12 00:36:18 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-05-12 00:36:18 +0300 |
| commit | 4cde8bceb1ff14896884c224850f6c7611551175 (patch) | |
| tree | 50242259fb7b66179e461b8ede554fdc5b99ef70 /arch/riscv64/init | |
| parent | e52d9de585ed7cb1482ab142911d1c6d3e486955 (diff) | |
| download | kmi-4cde8bceb1ff14896884c224850f6c7611551175.tar.gz kmi-4cde8bceb1ff14896884c224850f6c7611551175.zip | |
fix LLVM compilation
+ RELEASE=1 doesn't work for some reason, though
Diffstat (limited to 'arch/riscv64/init')
| -rw-r--r-- | arch/riscv64/init/start.S | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/riscv64/init/start.S b/arch/riscv64/init/start.S index 759c409..7439d93 100644 --- a/arch/riscv64/init/start.S +++ b/arch/riscv64/init/start.S @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ -.section .init.start +.section .init .global _start /* Entry point to the kernel loader. */ _start: @@ -20,8 +20,3 @@ li sp, VM_STACK_TOP // load virtual stack address li fp, 0 li gp, 0 jr a2 // jump to kernel - -/* there should be a kernel payload after this address */ -.section .top -.global __kernel -__kernel: |
