diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 07:32:52 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 07:32:52 -0400 |
commit | 88987ef91b99cf99bc5d167caeb31d4958fbf931 (patch) | |
tree | 95557c2fe408ad98d9547025ae98b0d0c1377aa2 /arch/arm/vfp | |
parent | 4be3bd7849165e7efa6b0b35a23d6a3598d97465 (diff) |
Thumb-2: Add some .align statements to the .S files
Since the Thumb-2 instructions can be 16-bit wide, data in the .text
sections may not be aligned to a 32-bit word and this leads to unaligned
exceptions. This patch does not affect the ARM code generation.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/vfp')
-rw-r--r-- | arch/arm/vfp/entry.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/vfp/entry.S b/arch/arm/vfp/entry.S index a2bed62aec21..4fa9903b83cf 100644 --- a/arch/arm/vfp/entry.S +++ b/arch/arm/vfp/entry.S | |||
@@ -42,6 +42,7 @@ ENTRY(vfp_null_entry) | |||
42 | mov pc, lr | 42 | mov pc, lr |
43 | ENDPROC(vfp_null_entry) | 43 | ENDPROC(vfp_null_entry) |
44 | 44 | ||
45 | .align 2 | ||
45 | .LCvfp: | 46 | .LCvfp: |
46 | .word vfp_vector | 47 | .word vfp_vector |
47 | 48 | ||
@@ -61,6 +62,7 @@ ENTRY(vfp_testing_entry) | |||
61 | mov pc, r9 @ we have handled the fault | 62 | mov pc, r9 @ we have handled the fault |
62 | ENDPROC(vfp_testing_entry) | 63 | ENDPROC(vfp_testing_entry) |
63 | 64 | ||
65 | .align 2 | ||
64 | VFP_arch_address: | 66 | VFP_arch_address: |
65 | .word VFP_arch | 67 | .word VFP_arch |
66 | 68 | ||