aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/scripts/ld.script.dfu
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/shenzhou/scripts/ld.script.dfu')
-rw-r--r--nuttx/configs/shenzhou/scripts/ld.script.dfu12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/shenzhou/scripts/ld.script.dfu b/nuttx/configs/shenzhou/scripts/ld.script.dfu
index 53e3ee4fc..b9d94c7a0 100644
--- a/nuttx/configs/shenzhou/scripts/ld.script.dfu
+++ b/nuttx/configs/shenzhou/scripts/ld.script.dfu
@@ -65,6 +65,12 @@ SECTIONS
_etext = ABSOLUTE(.);
} > flash
+ __exidx_start = ABSOLUTE(.);
+ .ARM.exidx : {
+ *(.ARM.exidx*)
+ } >flash
+ __exidx_end = ABSOLUTE(.);
+
_eronly = ABSOLUTE(.);
/* The STM32F107VC has 64Kb of SRAM beginning at the following address */
@@ -81,12 +87,6 @@ SECTIONS
*(.ARM.extab*)
} >sram
- __exidx_start = ABSOLUTE(.);
- .ARM.exidx : {
- *(.ARM.exidx*)
- } >sram
- __exidx_end = ABSOLUTE(.);
-
.bss : {
_sbss = ABSOLUTE(.);
*(.bss .bss.*)