]> git.sur5r.net Git - u-boot/commitdiff
SMDK6400: Fix some label undefined in build error
authorseedshope <bocui107@gmail.com>
Sat, 22 Jan 2011 10:06:10 +0000 (10:06 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Sun, 27 Mar 2011 17:19:05 +0000 (19:19 +0200)
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>
board/samsung/smdk6400/u-boot-nand.lds

index 975601b5c20a2d4931c242af3a27b5f8e6df4d5d..ef99dc9c29e053d86cec3ca49e6a70048078b42b 100644 (file)
@@ -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*) }
 }