altos/stm32f4: Place ARM.exidx sections after .text
[fw/altos] / src / stm32f4 / altos-raw.ld
index 21da5af591d59234cc99f88cf89b6caf7586bccd..82d33c09fbef91e845ab81aac72596168f4f5129 100644 (file)
@@ -38,9 +38,13 @@ SECTIONS {
 
        .text : {
                *(.text*)       /* Executable code */
-               *(.ARM.exidx* .gnu.linkonce.armexidx.*)
                *(.rodata*)     /* Constants */
        } > rom
+
+       .exidx : {
+               *(.ARM.exidx* .gnu.linkonce.armexidx.*)
+       } > rom
+
        __text_end__ = .;
 
        /* Data -- relocated to RAM, but written to ROM