diff --git a/link.ld b/link.ld index c5a85b0..8401657 100644 --- a/link.ld +++ b/link.ld @@ -14,4 +14,7 @@ SECTIONS { .bss : { *(.bss) } > DRAM + /DISCARD/ : { + *(.riscv.attributes) + } }