Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 752b443

Browse files
committed
discard the ARM.exidx.* section
It's related to stack unwinding and takes up FLASH memory. I doubt anyone is using it and we have been discarding this section in all the released versions of this crate so this is not a breaking change. In the future, if need for this arises, we can add it back behind a Cargo feature, or without one if that makes sense.
1 parent cf50fc8 commit 752b443

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

link.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ SECTIONS
9292
.debug_gdb_scripts _stext (INFO) : {
9393
KEEP(*(.debug_gdb_scripts))
9494
}
95+
96+
/DISCARD/ :
97+
{
98+
*(.ARM.exidx.*)
99+
}
95100
}
96101

97102
/* Do not exceed this mark in the error messages below | */

0 commit comments

Comments
 (0)