[U-Boot] [PATCH] powerpc/ppc4xx: add ENTRY() to linker script

jozsef imrek mazsi at imrek.org
Thu Mar 24 22:39:07 CET 2011


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

Signed-off-by: jozsef imrek <mazsi at 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



More information about the U-Boot mailing list