summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-09-08 14:06:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-11 11:31:57 +0100
commit86970c73bf99789b114a78702b9a0629a4583b1d (patch)
tree8635c091b382e816b13d35701f5b56a87b531274 /scripts/lib/scriptutils.py
parent0f288ce34e5737fdb97a766d10a9d9d8e5b6f9b0 (diff)
downloadpoky-86970c73bf99789b114a78702b9a0629a4583b1d.tar.gz
kexec-tools: Fix build with LLD linker
With hardcoded -Ttext,0x10000 and newer toolchains emitting .note.gnu.property before .text, the link can fail with an overlap. Provide a minimal linker script that: - sets the image base to 0x10000, - places .text first at exactly 0x10000, - moves .note.gnu.property after .text, - optionally fixes .bss at 0x12000. Works with both ld.bfd and LLD 21+. (From OE-Core rev: 049ce8ad241bae31c22b83788e732080f7d04526) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions