ARM ABI requires stack to be aligned on a 64-bit boundary
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Sep 2009 12:26:15 +0000 (12:26 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Sep 2009 12:26:15 +0000 (12:26 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2901 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/scripts/at91sam7_128_ram.ld
bertos/cpu/arm/scripts/at91sam7_128_rom.ld
bertos/cpu/arm/scripts/at91sam7_256_ram.ld
bertos/cpu/arm/scripts/at91sam7_256_rom.ld
bertos/cpu/arm/scripts/at91sam7_512_ram.ld
bertos/cpu/arm/scripts/at91sam7_512_rom.ld
bertos/cpu/arm/scripts/at91sam7_64_ram.ld
bertos/cpu/arm/scripts/at91sam7_64_rom.ld

index c4ad8282fb9b17da59981182b38f7ada1390ea92..815ead6ea8aef4b60c42ee315fdafb011fa22157 100644 (file)
@@ -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 = .);
index 88864a8b43c40ba55dd9e51aed665d0d6fe58ec5..6394669c2edd80d0b47b65c1231dcd6ca1f051d5 100644 (file)
@@ -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 = .);
index 3b5279c49e5262105fce9f7c14b2e1d49f67b948..f1b54a93d34f8a4bf50325172067b682a6431b09 100644 (file)
@@ -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 = .);
index 7c20aa9dd20bd166cffc3298a45e7d2047ed1270..5efb78b9188c7e09f3fbb1353c853d6313dff472 100644 (file)
@@ -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 = .);
index 66c4f1679e398617974613b3e1651b2aeeb2ceff..64d2ad56d31c2e47019d1083ec225073ee550c27 100644 (file)
@@ -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 = .);
index 4826fc0db6ac41a3372c54f6f8de1bf631626d86..bb7453ab081d861bcbb1e615c3328739a506a6fb 100644 (file)
@@ -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 = .);
index 124edf79462a1e3206235ca93099e270e1b02504..7f69be1699143978218f50d0a9c4fb016962ef36 100644 (file)
@@ -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 = .);
index 93469d4e0a4c8163ae79390aa22ddd18e515d237..2fe0c506b0c1c10ce0f7204bf534edf52ccbf2d1 100644 (file)
@@ -114,22 +114,22 @@ 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 = .);