aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-11-22 06:06:50 +0100
committerGravatar GitHub <noreply@github.com> 2017-11-22 06:06:50 +0100
commit00541bb67dce44021eef828dc039c0ae65057d22 (patch)
treec1a62440fd899c08ee80d0c2ab72335e59b13265 /cortex-m-rt
parenta510390309e5ca18fc345604c1d7af0f71be8e3b (diff)
parent88ff985352097ebbc791226b94231b922036fdd4 (diff)
downloadcortex-m-00541bb67dce44021eef828dc039c0ae65057d22.tar.gz
cortex-m-00541bb67dce44021eef828dc039c0ae65057d22.tar.zst
cortex-m-00541bb67dce44021eef828dc039c0ae65057d22.zip
Merge pull request #45 from japaric/discard-exidx
discard the ARM.exidx.* section
Diffstat (limited to 'cortex-m-rt')
-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 | */