CM3: ensure that all processes have eight-byte stack alignment.
[bertos.git] / bertos / cpu / cortex-m3 / scripts / lm3s1968_rom.ld
index e6c0e018bb3250dee085894ab6b69dd53fb8133a..e0294b465f6c24de439abb8eb4597296cc6a7a4f 100644 (file)
@@ -104,15 +104,15 @@ SECTIONS
         * Data heap is allocate at end of stack.
         */
        PROVIDE (__msp_start = .);
-       . = ALIGN(4);
+       . = ALIGN(8);
        . += STACK_SIZE;
        PROVIDE (__msp_end = .);
 
        PROVIDE (__psp_start = .);
-       . = ALIGN(4);
+       . = ALIGN(8);
        . += STACK_SIZE;
        PROVIDE (__psp_end = .);
 
        PROVIDE (__heap_start = .);
-       . = ALIGN(4);
+       . = ALIGN(8);
 }