From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Fri, 10 Apr 2015 15:48:06 +0000 Subject: [U-Boot] [PATCH] arc: make sure _start is in the beginning of .text section In-Reply-To: <1428680800-5230-1-git-send-email-abrodkin@synopsys.com> References: <1428680800-5230-1-git-send-email-abrodkin@synopsys.com> Message-ID: <1428680886.5325.6.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2015-04-10 at 18:46 +0300, Alexey Brodkin wrote: > 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 Applied, thanks. -Alexey