summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stmf0/altos.ld8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/stmf0/altos.ld b/src/stmf0/altos.ld
index 8f8933c6..74fdf3ea 100644
--- a/src/stmf0/altos.ld
+++ b/src/stmf0/altos.ld
@@ -55,10 +55,16 @@ SECTIONS {
ao_product.o(.romconfig*)
*(.text*) /* Executable code */
+ } > rom
+
+ .ARM.exidx : {
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
- *(.rodata*) /* Constants */
+ } > rom
+ .rodata : {
+ *(.rodata*) /* Constants */
} > rom
+
__text_end__ = .;
/* Boot data which must live at the start of ram so that