SMDK6400: Add some labels to u-boot.lds to support nand_spl
authorseedshope <bocui107@gmail.com>
Sat, 22 Jan 2011 10:06:12 +0000 (10:06 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Sun, 27 Mar 2011 17:19:16 +0000 (19:19 +0200)
In the nand_spl feature of SMDK6400. Add some relocation symbols to
nand_spl/board/samsung/smdk6400/u-boot.lds to fix the compile error.

Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
nand_spl/board/samsung/smdk6400/u-boot.lds

index 4cb686c..0153e0e 100644 (file)
@@ -55,7 +55,22 @@ SECTIONS
        __u_boot_cmd_end = .;
 
        . = ALIGN(4);
+
+       .rel.dyn : {
+       __rel_dyn_start = .;
+       *(.rel*)
+       __rel_dyn_end = .;
+       }
+
+       .dynsym : {
+       __dynsym_start = .;
+       *(.dynsym)
+       }
+
+       .bss __rel_dyn_start (OVERLAY) : {
        __bss_start = .;
-       .bss : { *(.bss) . = ALIGN(4); }
+       *(.bss)
+       . = ALIGN(4);
        __bss_end__ = .;
+       }
 }