summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseedshope <bocui107@gmail.com>2011-01-22 10:06:10 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-03-27 19:19:05 +0200
commit6c0db6fb7f72b1b3dde72ccfb3a8bcce0ceee747 (patch)
treec040eee489df692034aa8569b461f87aae8b844a
parent6d56073c60edbade4c2e83a45e631dbd3ea392e0 (diff)
downloadu-boot-imx-6c0db6fb7f72b1b3dde72ccfb3a8bcce0ceee747.zip
u-boot-imx-6c0db6fb7f72b1b3dde72ccfb3a8bcce0ceee747.tar.gz
u-boot-imx-6c0db6fb7f72b1b3dde72ccfb3a8bcce0ceee747.tar.bz2
SMDK6400: Fix some label undefined in build error
Modify Makefile for cpu_init.c and Start.s use some label,this defined u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the link script board/samsung/smdk6400/u-boot-nand.lds. So add some label form u-boot.lds to u-boot-nand.lds Signed-off-by: Zhong Hongbo <bocui107@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--board/samsung/smdk6400/u-boot-nand.lds27
1 files changed, 24 insertions, 3 deletions
diff --git a/board/samsung/smdk6400/u-boot-nand.lds b/board/samsung/smdk6400/u-boot-nand.lds
index 975601b..ef99dc9 100644
--- a/board/samsung/smdk6400/u-boot-nand.lds
+++ b/board/samsung/smdk6400/u-boot-nand.lds
@@ -56,7 +56,28 @@ SECTIONS
.mmudata : { *(.mmudata) }
. = ALIGN(4);
- __bss_start = .;
- .bss : { *(.bss) . = ALIGN(4); }
- __bss_end__ = .;
+
+ .rel.dyn : {
+ __rel_dyn_start = .;
+ *(.rel*)
+ __rel_dyn_end = .;
+ }
+
+ .dynsym : {
+ __dynsym_start = .;
+ *(.dynsym)
+ }
+
+ .bss __rel_dyn_start (OVERLAY) : {
+ __bss_start = .;
+ *(.bss)
+ . = ALIGN(4);
+ __bss_end__ = .;
+ }
+
+ /DISCARD/ : { *(.dynstr*) }
+ /DISCARD/ : { *(.dynamic*) }
+ /DISCARD/ : { *(.plt*) }
+ /DISCARD/ : { *(.interp*) }
+ /DISCARD/ : { *(.gnu*) }
}