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/conf/init-link.S | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'arch/riscv64/conf') 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 = ; .garbage : { -- cgit v1.3