[coreboot] [PATCH] Add .text into romstage sections.

Bao, Zheng Zheng.Bao at amd.com
Tue Feb 22 12:24:33 CET 2011


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.bao at 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.*);

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110222/310e4c3c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_text_in_rom_section.patch
Type: application/octet-stream
Size: 606 bytes
Desc: add_text_in_rom_section.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110222/310e4c3c/attachment.obj>


More information about the coreboot mailing list