diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-03-28 08:47:45 -0500 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-03-31 15:10:32 -0600 |
commit | 9b46432fc65ce0f0826b32e4f15c15b33ccb8d42 (patch) | |
tree | 4eb0d96e56b26e5736cb205b5332eb968db5b175 /cpu/mcf52x2/start.S | |
parent | bae61eefe15b4d454060a7140e49ae58322be803 (diff) | |
download | u-boot-imx-9b46432fc65ce0f0826b32e4f15c15b33ccb8d42.zip u-boot-imx-9b46432fc65ce0f0826b32e4f15c15b33ccb8d42.tar.gz u-boot-imx-9b46432fc65ce0f0826b32e4f15c15b33ccb8d42.tar.bz2 |
ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S
When the version_string function in start.S is not 4-byte align,
it will cause the compiler generates "unaligned opcodes detected
in executable segment". This issue affects all ColdFire CPUs.
By adding .align 4 after CONFIG_IDENT_STRING, it will pad 0's if
it is not aligned.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'cpu/mcf52x2/start.S')
-rw-r--r-- | cpu/mcf52x2/start.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mcf52x2/start.S b/cpu/mcf52x2/start.S index 9e496a4..2bc0df3 100644 --- a/cpu/mcf52x2/start.S +++ b/cpu/mcf52x2/start.S @@ -476,3 +476,4 @@ version_string: .ascii U_BOOT_VERSION .ascii " (", __DATE__, " - ", __TIME__, ")" .ascii CONFIG_IDENT_STRING, "\0" + .align 4 |