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: seedshope <bocui...@gmail.com>
---
 nand_spl/board/samsung/smdk6400/u-boot.lds |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds 
b/nand_spl/board/samsung/smdk6400/u-boot.lds
index 3ac6aa1..30b1573 100644
--- a/nand_spl/board/samsung/smdk6400/u-boot.lds
+++ b/nand_spl/board/samsung/smdk6400/u-boot.lds
@@ -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);
        _end = .;
+       }
 }
-- 
1.7.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to