summaryrefslogtreecommitdiff
path: root/common/cli_readline.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-11-20 17:56:26 +0100
committerTom Rini <trini@konsulko.com>2022-11-21 09:23:00 -0500
commit04bb5e95bed2ffd9e788a76b9f6ae52de58bc6b4 (patch)
tree4133ec8d2d93764e3a20f95c18532ad5f2d2e882 /common/cli_readline.c
parent2827c2f07d6a5c498262cee7fe78aacfbf44f174 (diff)
arm32: Fix relocation of env_addr if POSITION_INDEPENDENT=y
Apply commit 534f0fbd6520 ("arm64: Fix relocation of env_addr if POSITION_INDEPENDENT=y") also for 32-bit ARM. This change fixes crashing of U-Boot on ARMv7 (Omap3 / Cortex-A8) Nokia N900 phone (real HW). Note that qemu emulator of this board with same u-boot.bin binary has not triggered this crash. Crash happened after U-Boot printed following debug lines to serial console: initcall: 0001ea8c (relocated to 8fe0aa8c) Loading Environment from <NULL>... Using default environment Destroy Hash Table: 8fe25a98 table = 00000000 Create Hash Table: N=387 Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'common/cli_readline.c')
0 files changed, 0 insertions, 0 deletions