Attention is currently required from: Martin L Roth.
Arthur Heymans has posted comments on this change by Arthur Heymans. ( https://review.coreboot.org/c/coreboot/+/84032?usp=email )
Change subject: util/crossgcc: Patch clang to enable linking x86 bare metal targets ......................................................................
Patch Set 6:
(1 comment)
Patchset:
PS6:
Hmmm, I'm not familiar with anything around clang. This switches the default linker used right? So seems invasive to me and I have no idea if anybody cares.
`git log -i --grep llvm\|clang` kind of suggests that I should ask you :D
Yes this switches the default linker but only if the compiler is used as a linker frontend, which is with LTO which only got added a few days ago. Thus for this purpose it seems ok. The x86 linker scripts struggle a bit as seen later in the series but I think it will be reasonable to make it work for both linkers.