projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM ABI requires stack to be aligned on a 64-bit boundary
[bertos.git]
/
bertos
/
cpu
/
arm
/
scripts
/
at91sam7_256_rom.ld
diff --git
a/bertos/cpu/arm/scripts/at91sam7_256_rom.ld
b/bertos/cpu/arm/scripts/at91sam7_256_rom.ld
index 7c20aa9dd20bd166cffc3298a45e7d2047ed1270..5efb78b9188c7e09f3fbb1353c853d6313dff472 100644
(file)
--- a/
bertos/cpu/arm/scripts/at91sam7_256_rom.ld
+++ b/
bertos/cpu/arm/scripts/at91sam7_256_rom.ld
@@
-114,27
+114,27
@@
SECTIONS
PROVIDE (__stack_fiq_start = .);
. += FIQ_STACK_SIZE;
PROVIDE (__stack_fiq_start = .);
. += FIQ_STACK_SIZE;
- . = ALIGN(
4
);
+ . = ALIGN(
8
);
PROVIDE (__stack_fiq_end = .);
PROVIDE (__stack_irq_start = .);
. += IRQ_STACK_SIZE;
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;
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;
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;
PROVIDE (__stack_und_end = .);
PROVIDE (__stack_svc_start = .);
. += SVC_STACK_SIZE;
- . = ALIGN(
4
);
+ . = ALIGN(
8
);
PROVIDE (__stack_svc_end = .);
PROVIDE (__stack_end = .);
PROVIDE (__stack_svc_end = .);
PROVIDE (__stack_end = .);