summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authoraozima <[email protected]>2019-10-22 09:47:41 +0800
committeraozima <[email protected]>2019-10-22 09:47:41 +0800
commit525d353403c0c665328ea52416922c82ae2eaac5 (patch)
tree7a744ad34632f76b6895c653978e2b7aa4d74ecf /libcpu/arm
parentc1bf9e645ed9c0d2959c21ea83c4a2ff86bb63f6 (diff)
fixed linker script and stack align issues.
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/am335x/start_gcc.S1
-rw-r--r--libcpu/arm/cortex-a/start_gcc.S1
-rw-r--r--libcpu/arm/cortex-r4/start_gcc.S1
-rw-r--r--libcpu/arm/realview-a8-vmm/start_gcc.S1
-rw-r--r--libcpu/arm/zynq7000/start_gcc.S1
5 files changed, 5 insertions, 0 deletions
diff --git a/libcpu/arm/am335x/start_gcc.S b/libcpu/arm/am335x/start_gcc.S
index 6b76fb04a4..7e996e2a80 100644
--- a/libcpu/arm/am335x/start_gcc.S
+++ b/libcpu/arm/am335x/start_gcc.S
@@ -33,6 +33,7 @@
.globl stack_start
.globl stack_top
+.align 3
stack_start:
.rept ISR_Stack_Size
.long 0
diff --git a/libcpu/arm/cortex-a/start_gcc.S b/libcpu/arm/cortex-a/start_gcc.S
index 91faa0e3ff..268cc7ef56 100644
--- a/libcpu/arm/cortex-a/start_gcc.S
+++ b/libcpu/arm/cortex-a/start_gcc.S
@@ -41,6 +41,7 @@
.globl stack_start
.globl stack_top
+.align 3
stack_start:
.rept ISR_Stack_Size
.byte 0
diff --git a/libcpu/arm/cortex-r4/start_gcc.S b/libcpu/arm/cortex-r4/start_gcc.S
index ab77b98781..a347503ec0 100644
--- a/libcpu/arm/cortex-r4/start_gcc.S
+++ b/libcpu/arm/cortex-r4/start_gcc.S
@@ -36,6 +36,7 @@
.globl stack_start
.globl stack_top
+.align 3
stack_start:
.rept (UND_Stack_Size + SVC_Stack_Size + ABT_Stack_Size + FIQ_Stack_Size + IRQ_Stack_Size)
.byte 0
diff --git a/libcpu/arm/realview-a8-vmm/start_gcc.S b/libcpu/arm/realview-a8-vmm/start_gcc.S
index 2ec7fe6c86..879cf992a8 100644
--- a/libcpu/arm/realview-a8-vmm/start_gcc.S
+++ b/libcpu/arm/realview-a8-vmm/start_gcc.S
@@ -47,6 +47,7 @@
.globl stack_start
.globl stack_top
+.align 3
stack_start:
.rept ISR_Stack_Size
.byte 0
diff --git a/libcpu/arm/zynq7000/start_gcc.S b/libcpu/arm/zynq7000/start_gcc.S
index 6904c45587..18056f0ad9 100644
--- a/libcpu/arm/zynq7000/start_gcc.S
+++ b/libcpu/arm/zynq7000/start_gcc.S
@@ -33,6 +33,7 @@
.globl stack_start
.globl stack_top
+.align 3
.bss
stack_start:
.rept ISR_Stack_Size