Revision | 28bfc40ce9bfa47da5d84de15b23063af7606c95 (tree) |
---|---|
Time | 2014-02-07 12:18:06 |
Author | Bob Liu <lliubbo@gmai...> |
Commiter | Sonic Zhang |
blackfin: init bss early
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
@@ -190,6 +190,7 @@ ENTRY(_start) | ||
190 | 190 | call _memcpy_ASM; |
191 | 191 | #endif |
192 | 192 | |
193 | +.Lnorelocate: | |
193 | 194 | /* Initialize BSS section ... we know that memset() does not |
194 | 195 | * use the BSS, so it is safe to call here. The bootrom LDR |
195 | 196 | * takes care of clearing things for us. |
@@ -202,7 +203,6 @@ ENTRY(_start) | ||
202 | 203 | r2.h = __bss_len; |
203 | 204 | call _memset; |
204 | 205 | |
205 | -.Lnorelocate: | |
206 | 206 | |
207 | 207 | /* Setup the actual stack in external memory */ |
208 | 208 | sp.h = HI(CONFIG_STACKBASE); |