aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cortex-m-rt/link.x5
1 files changed, 5 insertions, 0 deletions
diff --git a/cortex-m-rt/link.x b/cortex-m-rt/link.x
index 5f21477..2386cb0 100644
--- a/cortex-m-rt/link.x
+++ b/cortex-m-rt/link.x
@@ -92,6 +92,11 @@ SECTIONS
.debug_gdb_scripts _stext (INFO) : {
KEEP(*(.debug_gdb_scripts))
}
+
+ /DISCARD/ :
+ {
+ *(.ARM.exidx.*)
+ }
}
/* Do not exceed this mark in the error messages below | */