From 9f3a7a3251f605a30464472e91c04a1dd8baf67e Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 28 Feb 2013 15:21:41 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/2560 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/arch/armv7/coreboot_ram.ld | 2 +- src/arch/armv7/romstage.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/armv7') diff --git a/src/arch/armv7/coreboot_ram.ld b/src/arch/armv7/coreboot_ram.ld index 2edf8e3b26..c2ead7aa12 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 6728fb11fa..568ac1aa94 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 { -- cgit v1.2.3