[U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available
Måns Rullgård
mans at mansr.com
Mon Jul 2 11:53:10 CEST 2012
Tetsuyuki Kobayashi <koba at kmckk.co.jp> writes:
> Recent compiler generates unaligned memory access in armv7 default.
> But current U-Boot does not allow unaligned memory access, so it causes
> data abort exception.
> This patch add compile option "-mno-unaligned-access" if it is available.
Why not allow unaligned accesses instead?
--
Måns Rullgård
mans at mansr.com
More information about the U-Boot
mailing list