mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 11:39:24 +02:00
The compressed payload is not necesarily 4-byte aligned, at least when
compiling with Clang. In that case, the 4-byte value appended to the
compressed payload that corresponds to the uncompressed kernel image
size must be read using get_unaligned_le32().
This fixes Clang-built kernels not booting on MIPS (tested on a Ingenic
JZ4770 board).
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| calc_vmlinuz_load_addr.c | ||
| dbg.c | ||
| decompress.c | ||
| dummy.c | ||
| head.S | ||
| ld.script | ||
| Makefile | ||
| string.c | ||
| uart-16550.c | ||
| uart-alchemy.c | ||
| uart-prom.c | ||