From 1ab464d959b9ee3d3bb6758ac0d9d33fc6c77e46 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 31 Aug 2021 00:13:40 +0300 Subject: Improved linkind process, added padding generator --- arch/riscv/conf/init-link.S | 3 +-- arch/riscv/conf/kernel-link.S | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'arch/riscv') diff --git a/arch/riscv/conf/init-link.S b/arch/riscv/conf/init-link.S index f1ceadc..2bb904b 100644 --- a/arch/riscv/conf/init-link.S +++ b/arch/riscv/conf/init-link.S @@ -7,7 +7,6 @@ SECTIONS { . = ABSOLUTE(PM_KERN); .text ALIGN(4K) : AT(0) { *(.init.start) - *(.text); - . = ALIGN(4K); + *(.text*); } } diff --git a/arch/riscv/conf/kernel-link.S b/arch/riscv/conf/kernel-link.S index ebcc877..4592086 100644 --- a/arch/riscv/conf/kernel-link.S +++ b/arch/riscv/conf/kernel-link.S @@ -7,7 +7,6 @@ SECTIONS { . = ABSOLUTE(VM_KERN); .text ALIGN(4K) : AT(0) { *(.kernel.start); - *(.text); - . = ALIGN(4K); + *(.text*); } } -- cgit v1.3