aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/conf/kernel-link.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/conf/kernel-link.S')
-rw-r--r--arch/riscv64/conf/kernel-link.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/riscv64/conf/kernel-link.S b/arch/riscv64/conf/kernel-link.S
index 5673a64..2f000c9 100644
--- a/arch/riscv64/conf/kernel-link.S
+++ b/arch/riscv64/conf/kernel-link.S
@@ -26,4 +26,9 @@ SECTIONS {
}
__kernel_end = .;
+
+ .garbage : {
+ *(.note*)
+ *(.riscv.attributes)
+ }
}