]> git.ipfire.org Git - people/ms/u-boot.git/commit
arc: make sure _start is in the beginning of .text section
authorAlexey Brodkin <abrodkin@synopsys.com>
Fri, 10 Apr 2015 15:41:58 +0000 (18:41 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 10 Apr 2015 15:45:34 +0000 (18:45 +0300)
commit89576072cb60d50b61813f901c6fc296c01de506
treec99082c4a51cfbdc9f275c869ff190e9283450d3
parent0241c3131dd4c19a1116c863d622358eb2680462
arc: make sure _start is in the beginning of .text section

This is important to have entry point in the beginning of .text section
because it allows simple loading and execution of U-Boot.

For example pre-bootloader loads U-Boot in memory starting from offset
0x81000000 and then just jumps to the same address.

Otherwise pre-bootloader would need to find-out where entry-point is. In
its turn if it deals with binary image of U-Boot there's no way for
pre-bootloader to get required value.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/cpu/u-boot.lds
arch/arc/lib/Makefile