Attention is currently required from: Raul Rangel, Stefan Reinauer, Julius Werner, Jacob Garber, Iru Cai, Elyes Haouas.
Paul Menzel has uploaded a new patch set (#13) to the change originally created by Jacob Garber. ( https://review.coreboot.org/c/coreboot/+/40811 )
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.
Change-Id: Ia551cf84c8f6eb3b010450fc572876a318a257d1 Signed-off-by: Jacob Garber jgarber1@ualberta.ca Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M Makefile.inc M src/arch/arm/Makefile.inc M src/arch/arm64/Makefile.inc M src/arch/ppc64/Makefile.inc M src/arch/riscv/Makefile.inc M src/arch/x86/Makefile.inc M src/cpu/x86/smm/Makefile.inc M src/lib/Makefile.inc M toolchain.inc M util/xcompile/xcompile 10 files changed, 55 insertions(+), 37 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/40811/13