summaryrefslogtreecommitdiff
path: root/nand_spl/board
diff options
context:
space:
mode:
authorseedshope <bocui107@gmail.com>2011-01-22 10:06:12 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-03-27 19:19:16 +0200
commit6dde5074cce290839afdd8e329efb7301cb9fcce (patch)
tree35079feffd654125c39353e69b766f21a71d31f6 /nand_spl/board
parentfb3527575dce5ced00bf3c2e92ce13a1fc491747 (diff)
downloadu-boot-imx-6dde5074cce290839afdd8e329efb7301cb9fcce.zip
u-boot-imx-6dde5074cce290839afdd8e329efb7301cb9fcce.tar.gz
u-boot-imx-6dde5074cce290839afdd8e329efb7301cb9fcce.tar.bz2
SMDK6400: Add some labels to u-boot.lds to support nand_spl
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>
Diffstat (limited to 'nand_spl/board')
-rw-r--r--nand_spl/board/samsung/smdk6400/u-boot.lds17
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 4cb686c..0153e0e 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);
__bss_end__ = .;
+ }
}