diff options
Diffstat (limited to 'arch/riscv64/conf/kernel-link.S')
| -rw-r--r-- | arch/riscv64/conf/kernel-link.S | 5 |
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) + } } |
