lm3s1968: align the interrupt vector table to 1K boundary.
[bertos.git] / bertos / cpu / cortex-m3 / scripts / lm3s1968_rom.ld
index e6c0e018bb3250dee085894ab6b69dd53fb8133a..b4ed93a330209ab29bb413053dce250769c619cd 100644 (file)
@@ -80,9 +80,9 @@ SECTIONS
 
        .data : AT (__text_end)
        {
+               . = ALIGN (0x400);
                PROVIDE (__data_start = .);
                *(vtable)
-               . = ALIGN (0x400);
                *(.data .data.*)
                . = ALIGN (4);
                _edata = .;
@@ -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);
 }