The text sections in *.romstage.o are called .text instead of .rom.text. The .text can be built in, but the _erom cannot be calculated correctly
without this patch. Nobody uses _erom currently, so nobody seems cares it. Signed-off-by: Zheng Bao <zheng....@amd.com> Index: src/arch/x86/init/ldscript_fallback_cbfs.lb =================================================================== --- src/arch/x86/init/ldscript_fallback_cbfs.lb (revision 6374) +++ src/arch/x86/init/ldscript_fallback_cbfs.lb (working copy) @@ -35,6 +35,7 @@ .rom . : { _rom = .; *(.rom.text); + *(.text); *(.rom.data); *(.rodata); *(.rodata.*);
add_text_in_rom_section.patch
Description: add_text_in_rom_section.patch
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot