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>
This commit is contained in:
Aaron Durbin 2016-03-02 15:13:12 -06:00
parent ccd300b4b4
commit 4330a9c8e5
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
ENTRY(reset_vector)
ENTRY(_start)
MEMORY {
rom : ORIGIN = 0xffff0000, LENGTH = 64K

View File

@ -42,5 +42,5 @@ PHDRS
#endif
#if IS_ENABLED(CONFIG_C_ENVIRONMENT_BOOTBLOCK) && ENV_BOOTBLOCK
ENTRY(reset_vector)
ENTRY(_start)
#endif

View File

@ -1,7 +1,7 @@
.section ".reset", "ax", %progbits
.code16
.globl reset_vector
reset_vector:
.globl _start
_start:
.byte 0xe9
.int _start16bit - ( . + 2 )
/* Note: The above jump is hand coded to work around bugs in binutils.