[AVR32] Remove optimization of unaligned word loads
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 20 Jun 2007 13:29:15 +0000 (15:29 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 18 Jul 2007 18:45:51 +0000 (20:45 +0200)
If we let unaligned word loads bypass the generic unaligned handling,
gcc may combine it with a swap.b instruction and turn it into a ldwsp
instruction, which does not work with unaligned addresses.

Revert the optimization to prevent the RNDIS driver from crashing.
Hopefully we'll figure something out later (it may be better to do the
optimization in gcc.)

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

No differences found