altos/stmf0: Split up rom load in altos.ld to make linker happy
[fw/altos] / src / stmf0 / altos.ld
index 8f8933c6cc452b3769f741cf2bc615500cff4bb3..74fdf3eaeb3b595268938a0965219e157e131954 100644 (file)
@@ -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