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

2011-02-23 Thread Stefan Reinauer
* Bao, Zheng zheng@amd.com [110223 03:31]: The ldscript_fallback_cbfs.lb is only for the romstage. It does nothing to change the building of ramstage. And it doesn't have area like .data, which can be read and wrote. From the attached build output, we can see that only crt0.romstage.o

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

2011-02-22 Thread Bao, Zheng
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:

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

2011-02-22 Thread Marc Jones
On Tue, Feb 22, 2011 at 4:24 AM, Bao, Zheng zheng@amd.com wrote: 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.

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

2011-02-22 Thread Bao, Zheng
think it is worth to do such a complicated job. Zheng -Original Message- From: Marc Jones [mailto:marcj...@gmail.com] Sent: Wednesday, February 23, 2011 5:25 AM To: Bao, Zheng Cc: coreboot@coreboot.org Subject: Re: [coreboot] [PATCH] Add .text into romstage sections. On Tue, Feb 22, 2011