[PATCH 1/9] ppc pcm030: provide _stext, _text and __bss_stop in linker script

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 17 05:16:53 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/ppc/boards/pcm030/barebox.lds.S |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/ppc/boards/pcm030/barebox.lds.S b/arch/ppc/boards/pcm030/barebox.lds.S
index ab99335..21bf4a7 100644
--- a/arch/ppc/boards/pcm030/barebox.lds.S
+++ b/arch/ppc/boards/pcm030/barebox.lds.S
@@ -55,6 +55,8 @@ SECTIONS
   .plt : { *(.plt) }
   .text      :
   {
+    _text = .;
+    _stext = .;
     arch/ppc/mach-mpc5xxx/start.o	(.text)
     *(.text*)
     *(.got1*)
@@ -134,6 +136,7 @@ SECTIONS
    *(.bss*)
    *(COMMON)
   }
+  __bss_stop = .;
   _end = . ;
   PROVIDE (end = .);
 }
-- 
1.7.2.3




More information about the barebox mailing list