Skip to content
Commit e122eaf6 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen
Browse files

[AVR32] Remove optimization of unaligned word loads



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: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent a8e93ed8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment