summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-28 01:18:29 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-28 01:18:29 +0100
commit588169f12218ed26121fdebc6878a729d69438ba (patch)
treea73406528757d3242c3dbdeb3a5e70d588491d48
parenta34cdbc1a9f87f9f3d87416c95aa92d8395a783f (diff)
osmo-sdr/sam3u: add exidx sections to linker script
-rw-r--r--boards/osmo-sdr/at91sam3u4/flash.lds12
1 files changed, 10 insertions, 2 deletions
diff --git a/boards/osmo-sdr/at91sam3u4/flash.lds b/boards/osmo-sdr/at91sam3u4/flash.lds
index 91b792f..14d18a9 100644
--- a/boards/osmo-sdr/at91sam3u4/flash.lds
+++ b/boards/osmo-sdr/at91sam3u4/flash.lds
@@ -59,10 +59,18 @@ SECTIONS
*(.rodata*)
*(.glue_7)
*(.glue_7t)
- . = ALIGN(4);
- _efixed = .; /* End of text section */
+
} >flash0
+ .ARM.exidx : {
+ __exidx_start = .;
+ *(.ARM.exidx* .gnu.linkonce.armexidx.*)
+ __exidx_end = .;
+ } >flash0
+
+ . = ALIGN(4);
+ _efixed = .; /* End of text section */
+
.relocate : AT (_efixed)
{
. = ALIGN(4);
personal git repositories of Harald Welte. Your mileage may vary