From 588169f12218ed26121fdebc6878a729d69438ba Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 28 Dec 2011 01:18:29 +0100 Subject: osmo-sdr/sam3u: add exidx sections to linker script --- boards/osmo-sdr/at91sam3u4/flash.lds | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'boards') 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); -- cgit v1.2.3