Add ENTRY() command to the linker script so that entry point is
correctly marked in the final ELF file.

Signed-off-by: jozsef imrek <ma...@imrek.org>
---
 arch/powerpc/cpu/ppc4xx/u-boot.lds |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/cpu/ppc4xx/u-boot.lds 
b/arch/powerpc/cpu/ppc4xx/u-boot.lds
index 656f59a..b82e1e8 100644
--- a/arch/powerpc/cpu/ppc4xx/u-boot.lds
+++ b/arch/powerpc/cpu/ppc4xx/u-boot.lds
@@ -38,6 +38,8 @@ PHDRS
   bss PT_LOAD;
 }
 
+ENTRY(_start)
+
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-- 
1.7.2.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to