Ronald G. Minnich (rminnich@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2560
-gerrit
commit e932afbe3f175afe77f304aa5e93fb6dfe52d78e Author: Ronald G. Minnich rminnich@gmail.com Date: Thu Feb 28 15:21:41 2013 -0600
ARM: fix the ldscripts so that exit/enter stage work correctly.
Remove the spurious creation of a start symbol, and use the stage entry symbol directly.
Change-Id: Ia62d5c056ac8b20c8ffdb78bff3d306065b6c45f Signed-off-by: Ronald G. Minnich rminnich@gmail.com --- src/arch/armv7/coreboot_ram.ld | 2 +- src/arch/armv7/romstage.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/arch/armv7/coreboot_ram.ld b/src/arch/armv7/coreboot_ram.ld index 2edf8e3..c2ead7a 100644 --- a/src/arch/armv7/coreboot_ram.ld +++ b/src/arch/armv7/coreboot_ram.ld @@ -22,7 +22,7 @@ /* We use ELF as output format. So that we can debug the code in some form. */ INCLUDE ldoptions
-ENTRY(_start) +ENTRY(stage_entry)
SECTIONS { diff --git a/src/arch/armv7/romstage.ld b/src/arch/armv7/romstage.ld index 6728fb1..568ac1a 100644 --- a/src/arch/armv7/romstage.ld +++ b/src/arch/armv7/romstage.ld @@ -28,7 +28,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm)
-ENTRY(_start) +ENTRY(stage_entry)
SECTIONS {