Discard metadata section in linker script
This commit is contained in:
parent
1e041aadfb
commit
7efabe6a31
1 changed files with 3 additions and 0 deletions
3
link.ld
3
link.ld
|
@ -14,4 +14,7 @@ SECTIONS {
|
||||||
.bss : {
|
.bss : {
|
||||||
*(.bss)
|
*(.bss)
|
||||||
} > DRAM
|
} > DRAM
|
||||||
|
/DISCARD/ : {
|
||||||
|
*(.riscv.attributes)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue