]> git.sur5r.net Git - u-boot/commitdiff
PPC 85xx: Add ELF entry point
authorAlexander Graf <agraf@suse.de>
Fri, 11 Apr 2014 15:09:44 +0000 (17:09 +0200)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:45 +0000 (17:58 -0700)
We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.

To know where we have to start executing this ELF binary  we have to
tell the linker where our entry point is.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/u-boot.lds

index 2af4c80f6080accf32d591ac23c56dbf96d91d63..b34d2125f79051e71679aab7cdb96a319c67e0f4 100644 (file)
@@ -13,6 +13,7 @@
 #endif
 
 OUTPUT_ARCH(powerpc)
+ENTRY(_start_e500)
 
 PHDRS
 {