arm: Fixed the offset for the no relocation.
[oweals/u-boot.git] / arch / arm / cpu / arm946es / start.S
index b4d1d2dd1c6f8e701ad51e97e0310109362f8295..30e21835cc8759c6947ab1e46fc367f6a728e2f0 100644 (file)
@@ -175,6 +175,7 @@ stack_setup:
 
        adr     r0, _start
        cmp     r0, r6
+       moveq   r9, #0          /* no relocation. relocation offset(r9) = 0 */
        beq     clear_bss               /* skip relocation */
        mov     r1, r6                  /* r1 <- scratch for copy_loop */
        ldr     r3, _bss_start_ofs