Commit 6dde5074cce290839afdd8e329efb7301cb9fcce
Committed by
Albert Aribaud
1 parent
fb3527575d
Exists in
master
and in
54 other branches
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>
Showing 1 changed file with 16 additions and 1 deletions Side-by-side Diff
nand_spl/board/samsung/smdk6400/u-boot.lds
... | ... | @@ -55,8 +55,23 @@ |
55 | 55 | __u_boot_cmd_end = .; |
56 | 56 | |
57 | 57 | . = ALIGN(4); |
58 | + | |
59 | + .rel.dyn : { | |
60 | + __rel_dyn_start = .; | |
61 | + *(.rel*) | |
62 | + __rel_dyn_end = .; | |
63 | + } | |
64 | + | |
65 | + .dynsym : { | |
66 | + __dynsym_start = .; | |
67 | + *(.dynsym) | |
68 | + } | |
69 | + | |
70 | + .bss __rel_dyn_start (OVERLAY) : { | |
58 | 71 | __bss_start = .; |
59 | - .bss : { *(.bss) . = ALIGN(4); } | |
72 | + *(.bss) | |
73 | + . = ALIGN(4); | |
60 | 74 | __bss_end__ = .; |
75 | + } | |
61 | 76 | } |