[U-Boot] [PATCH] SMDK6400: fix the compiler error

Minkyu Kang mk7.kang at samsung.com
Fri Jun 3 09:27:01 CEST 2011


This patch adds _end for fix following compiler error

arch/arm/cpu/arm1176/start.o: In function `_end_ofs':
arch/arm/cpu/arm1176/start.S:61: undefined reference to `_end'

Signed-off-by: Minkyu Kang <mk7.kang at samsung.com>
---
 board/samsung/smdk6400/u-boot-nand.lds |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/board/samsung/smdk6400/u-boot-nand.lds b/board/samsung/smdk6400/u-boot-nand.lds
index 21e1ed3..f162815 100644
--- a/board/samsung/smdk6400/u-boot-nand.lds
+++ b/board/samsung/smdk6400/u-boot-nand.lds
@@ -67,6 +67,8 @@ SECTIONS
 		*(.dynsym)
 	}
 
+	_end = .;
+
 	.bss __rel_dyn_start (OVERLAY) : {
 		__bss_start = .;
 		*(.bss)
-- 
1.7.4.1


More information about the U-Boot mailing list