Merge branch "preempt" in "trunk".
[bertos.git] / bertos / cpu / arm / scripts / at91sam7_512_rom.ld
index 4826fc0db6ac41a3372c54f6f8de1bf631626d86..70bab584e1002f6360cd81544a5cb4579614acf3 100644 (file)
@@ -58,10 +58,10 @@ MEMORY
  * Define stack size here
  */
 FIQ_STACK_SIZE = 0x0100;
-IRQ_STACK_SIZE = 0x0100;
+IRQ_STACK_SIZE = 0x0400;
 ABT_STACK_SIZE = 0x0100;
 UND_STACK_SIZE = 0x0100;
-SVC_STACK_SIZE = 0x0400;
+SVC_STACK_SIZE = 0x1000;
 
 /*
  * Allocate section memory
@@ -114,27 +114,27 @@ SECTIONS
 
        PROVIDE (__stack_fiq_start = .);
        . += FIQ_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_fiq_end = .);
 
        PROVIDE (__stack_irq_start = .);
        . += IRQ_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_irq_end = .);
 
        PROVIDE (__stack_abt_start = .);
        . += ABT_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_abt_end = .);
 
        PROVIDE (__stack_und_start = .);
        . += UND_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_und_end = .);
 
        PROVIDE (__stack_svc_start = .);
        . += SVC_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_svc_end = .);
 
        PROVIDE (__stack_end = .);