mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-24 22:30:31 +00:00
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: Helge Deller <deller@gmx.de> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| head.S | ||
| Makefile | ||
| misc.c | ||
| vmlinux.lds.S | ||
| vmlinux.scr | ||