Attention is currently required from: Elyes Haouas, Iru Cai, Julius Werner, Jérémy Compostella, Paul Menzel, Raul Rangel.
Arthur Heymans has uploaded a new patch set (#20) to the change originally created by Jacob Garber. ( https://review.coreboot.org/c/coreboot/+/40811?usp=email )
Change subject: arch,toolchain,xcompile: Use the compiler frontend as a linker ......................................................................
arch,toolchain,xcompile: Use the compiler frontend as a linker
Code generation when using LTO is not done until after linking, so the compiler must be invoked at all linking stages instead of the linker. Replace $(LD) with $(CC), and prefix all linker-specific flags with -Wl and replace the spaces by commas so they will be passed to the linker.
Pass CFLAGS_common to SMM targets, so `-m32` gets passed, results in
clang: error: argument unused during compilation: '-nostdinc' [-Werror,-Wunused-command-line-argument]
Pass CFLAGS_smm and CFLAGS_smmstub.
Change-Id: Ia551cf84c8f6eb3b010450fc572876a318a257d1 Signed-off-by: Jacob Garber jgarber1@ualberta.ca Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M Makefile.mk M src/arch/arm/Makefile.mk M src/arch/arm64/Makefile.mk M src/arch/ppc64/Makefile.mk M src/arch/riscv/Makefile.mk M src/arch/x86/Makefile.mk M src/cpu/x86/smm/Makefile.mk M src/lib/Makefile.mk M toolchain.mk M util/xcompile/xcompile 10 files changed, 37 insertions(+), 37 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/40811/20