Skip to content
Commit 8c031ba6 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Unbreak bootloader due to gcc-7 optimizations



gcc-7 optimizes the byte-wise accesses of get_unaligned_le32() into
word-wise accesses if the 32-bit integer output_len is declared as
external. This panics then the bootloader since we don't have the
unaligned access fault trap handler installed during boot time.

Avoid this optimization by declaring output_len as byte-aligned and thus
unbreak the bootloader code.

Additionally, compile the boot code optimized for size.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent af21b01d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment