mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 03:29:11 +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:
|
||
|---|---|---|
| .. | ||
| compressed | ||
| dts | ||
| tools | ||
| .gitignore | ||
| ecoff.h | ||
| elf2ecoff.c | ||
| Makefile | ||