public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400
@ 2011-05-01 16:56 seedshope
  2011-05-01 18:49 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: seedshope @ 2011-05-01 16:56 UTC (permalink / raw)
  To: u-boot

From: seedshope <bocui107@gmail.com>

Since we rename _end to __bss_end__, But we need add _end symbol for
the end of u-boot image.

Signed-off-by: Zhong Hongbo <bocui107@gmail.com>

diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds b/nand_spl/board/samsung/smdk6400/u-boot.lds
index 0153e0e..23c9913 100644
--- a/nand_spl/board/samsung/smdk6400/u-boot.lds
+++ b/nand_spl/board/samsung/smdk6400/u-boot.lds
@@ -67,6 +67,8 @@ SECTIONS
 	*(.dynsym)
 	}
 
+	_end = .;	
+
 	.bss __rel_dyn_start (OVERLAY) : {
 	__bss_start = .;
 	*(.bss)
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [U-Boot] Add _end symbol in SMDK6410 link script
@ 2011-05-01 17:05 seedshope
  2011-05-01 17:05 ` [U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400 seedshope
  0 siblings, 1 reply; 5+ messages in thread
From: seedshope @ 2011-05-01 17:05 UTC (permalink / raw)
  To: u-boot

Since we rename _end to __bss_end (commit: 44c6e6591cb)
So we have add the the end symbol of u-boot image.

The patch fix SMDK6400 build error. the error information as foolowing:

pat.o -L /usr/local/arm/4.3.1-eabi-armv6/usr/bin-ccache/../lib/gcc/arm-samsung-linux-gnueabi/4.3.1 -lgcc -Map u-boot.map -o u-boot
arch/arm/cpu/arm1176/start.o: In function `_end_ofs':
/home/seedshope/work/bootloader/u-boot/arch/arm/cpu/arm1176/start.S:61: undefined reference to `_end'
make: *** [/home/seedshope/work/bootloader/u-boot_obj/smdk6400/u-boot] Error 1
 

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

end of thread, other threads:[~2011-05-16 10:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01 16:56 [U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400 seedshope
2011-05-01 18:49 ` Wolfgang Denk
2011-05-02  6:28   ` Zhong Hongbo
2011-05-16 10:14     ` Minkyu Kang
  -- strict thread matches above, loose matches on Subject: below --
2011-05-01 17:05 [U-Boot] Add _end symbol in SMDK6410 link script seedshope
2011-05-01 17:05 ` [U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400 seedshope

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