forked from M-Labs/artiq
1
0
Fork 0

firmware/ksupport: Include .gcc_except_table (LSDA)

For whatever reason, no language-specific unwind data
was generated for ksupport code so far, but rustc does
emit it for an upcoming refactoring.
This commit is contained in:
David Nadlinger 2022-11-13 20:07:25 +00:00 committed by Sebastien Bourdeauducq
parent 1ddefaa42f
commit d73915f904
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ SECTIONS
KEEP(*(.eh_frame_hdr)) KEEP(*(.eh_frame_hdr))
} > ksupport :text :eh_frame } > ksupport :text :eh_frame
.gcc_except_table :
{
*(.gcc_except_table)
} > ksupport
.data : .data :
{ {
*(.data .data.*) *(.data .data.*)