]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/pxa/start.S
arm: Fixed the offset for the no relocation.
[karo-tx-uboot.git] / arch / arm / cpu / pxa / start.S
index 33c73f67b57fbf6b9f5683f1dafb2134fd2a244f..536cf5c9748824aee06097f1304e92ab7f557305 100644 (file)
@@ -197,6 +197,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