diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-10-09 16:29:23 -0700 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2026-11-05 15:23:11 +0100 |
| commit | 960bb0eea66a5ce3828a83212357c17a430f432f (patch) | |
| tree | b7e002f1bd09779aa159825e51716d8a7949d7b1 /tools/lib/python/kdoc/python_version.py | |
| parent | 07cd3ed4153991cda356f24323b8ee3af8bc7c5a (diff) | |
MIPS: boot: compressed: fix the vmlinuz link with ld.lld
ld.lld cannot link a 32-bit executable at a sign-extended address. With
a sign-extended ZBOOT_LOAD_ADDRESS, such as the BCM47XX default of
0xffffffff80400000, the vmlinuz link fails:
ld.lld: error: section .text at 0xffffffff80400000 of size 0x35a4
exceeds available address space
arch/mips/Makefile already avoids this for vmlinux by linking at
LINKER_LOAD_ADDRESS, which drops the upper 32 bits on 32-bit kernels.
Do the same for vmlinuz. The address computed by calc_vmlinuz_load_addr
is already derived from LINKER_LOAD_ADDRESS, which is why only an
explicit ZBOOT_LOAD_ADDRESS is affected.
Assisted-by: LLM
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
