summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-03-02 15:13:12 -0600
committerAaron Durbin <adurbin@chromium.org>2016-03-04 01:16:05 +0100
commit4330a9c8e52a00bf7b0b9ddd57717b7a39123ecf (patch)
treee952a6213a783a8f611d2ce9fb7231f4bde4e509 /src/arch/x86
parentccd300b4b402167bd1f390ba13378593f1962712 (diff)
downloadcoreboot-4330a9c8e52a00bf7b0b9ddd57717b7a39123ecf.tar.xz
arch/x86: rename reset_vector -> _start
In order to align the entry points for the various stages on x86 to _start one needs to rename the reset_vector symbol. The section is the same; it's just a symbol change. Change-Id: I0e6bbf1da04a6e248781a9c222a146725c34268a Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13881 Tested-by: build bot (Jenkins) Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/failover.ld2
-rw-r--r--src/arch/x86/include/arch/header.ld2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/failover.ld b/src/arch/x86/failover.ld
index c8c00bbce7..e9613d996e 100644
--- a/src/arch/x86/failover.ld
+++ b/src/arch/x86/failover.ld
@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
-ENTRY(reset_vector)
+ENTRY(_start)
MEMORY {
rom : ORIGIN = 0xffff0000, LENGTH = 64K
diff --git a/src/arch/x86/include/arch/header.ld b/src/arch/x86/include/arch/header.ld
index 89cb6de467..d7fbf07ac4 100644
--- a/src/arch/x86/include/arch/header.ld
+++ b/src/arch/x86/include/arch/header.ld
@@ -42,5 +42,5 @@ PHDRS
#endif
#if IS_ENABLED(CONFIG_C_ENVIRONMENT_BOOTBLOCK) && ENV_BOOTBLOCK
-ENTRY(reset_vector)
+ENTRY(_start)
#endif