summaryrefslogtreecommitdiff
path: root/src/arch/armv7
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2013-02-28 15:21:41 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-20 05:56:22 +0100
commit9f3a7a3251f605a30464472e91c04a1dd8baf67e (patch)
tree39ddeaf506c7bf354d5329b659ccf719c350d156 /src/arch/armv7
parent28b99c05a1424848254d82d0736cdf99c90f5b67 (diff)
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> Reviewed-on: http://review.coreboot.org/2560 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch/armv7')
-rw-r--r--src/arch/armv7/coreboot_ram.ld2
-rw-r--r--src/arch/armv7/romstage.ld2
2 files changed, 2 insertions, 2 deletions
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
{