diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-28 15:21:41 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-20 05:56:22 +0100 |
commit | 9f3a7a3251f605a30464472e91c04a1dd8baf67e (patch) | |
tree | 39ddeaf506c7bf354d5329b659ccf719c350d156 /src/arch | |
parent | 28b99c05a1424848254d82d0736cdf99c90f5b67 (diff) | |
download | coreboot-9f3a7a3251f605a30464472e91c04a1dd8baf67e.tar.xz |
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')
-rw-r--r-- | src/arch/armv7/coreboot_ram.ld | 2 | ||||
-rw-r--r-- | 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 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 { |