public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] powerpc/ppc4xx: add ENTRY() to linker script
@ 2011-03-24 21:39 jozsef imrek
  2011-03-24 23:03 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: jozsef imrek @ 2011-03-24 21:39 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-04 11:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 21:39 [U-Boot] [PATCH] powerpc/ppc4xx: add ENTRY() to linker script jozsef imrek
2011-03-24 23:03 ` Wolfgang Denk
2011-03-24 23:54   ` jozsef imrek
2011-04-04 11:19     ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox