diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv/conf/init-link.S | 3 | ||||
| -rw-r--r-- | arch/riscv/conf/kernel-link.S | 3 |
2 files changed, 2 insertions, 4 deletions
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*); } } |
