From 4cde8bceb1ff14896884c224850f6c7611551175 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 12 May 2023 00:36:18 +0300 Subject: fix LLVM compilation + RELEASE=1 doesn't work for some reason, though --- arch/riscv64/init/start.S | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'arch/riscv64/init/start.S') 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: -- cgit v1.3