Index: Source/heap/asm/SaveRegisters_arm.S |
diff --git a/Source/heap/asm/SaveRegisters_arm.S b/Source/heap/asm/SaveRegisters_arm.S |
index 0d1251c915cdb6a6a597ea91bdcaa8843f066b5c..4e2f9912c95364c49ae82153d67d96aa111b0323 100644 |
--- a/Source/heap/asm/SaveRegisters_arm.S |
+++ b/Source/heap/asm/SaveRegisters_arm.S |
@@ -43,6 +43,7 @@ |
* the THUMB/ARM interworking that appear in the component build. |
* When these issues are resolved this stub can be removed. |
*/ |
+.align 2 |
.code 16 |
.thumb_func |
pushAllRegisters: |
@@ -51,10 +52,13 @@ pushAllRegisters: |
.type pushAllRegistersARM, %function |
.hidden pushAllRegistersARM |
+.align 4 |
.code 32 |
pushAllRegistersARM: |
#else |
/* ARM Mode */ |
+.align 4 |
+.code 32 |
pushAllRegisters: |
#endif |
/* Push all callee-saved registers and save return address. */ |