Files
poky/meta/recipes-bsp
Khem Raj 0f288ce34e grub,grub-efi: Always use BFD linker with clang
LLD 21+ is erroring on text address being lower than the default
segment address for binaries. Erroring during configure e.g.

cannot link at address 0x2000

With LLD 21, -Ttext,<addr> only moves the .text section
it does not change the image base and LLD 21 errors out
if any section VMA is below the image base and the segment (image)
base still defaults to 0x400000 when using LLD, hence the error

LLD support in Grub needs to be done properly, it will need
to adjust how linker options are constructed in configure. We
default to use BFD linker always when using clang for now.

(From OE-Core rev: d1194c1a42fc7877a0c99c77e5291216a11ea5dc)

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>
2025-09-11 11:31:57 +01:00
..
2025-08-07 12:11:16 +01:00
2025-03-27 11:19:04 +00:00
2025-07-03 10:40:17 +01:00
2024-11-01 12:07:12 +00:00