From 7efabe6a31564828e931c357beb04e532b5cd5ef Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 6 Apr 2024 21:20:45 +0200 Subject: [PATCH] Discard metadata section in linker script --- link.ld | 3 +++ 1 file changed, 3 insertions(+) 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) + } }