]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm926ejs/start.S
arm: Fixed the offset for the no relocation.
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / start.S
index 521d46290cfb47fdeb8dd1071ad1cdf187141b1e..2188f7e35d1df8de3bce8d9ccadea6e60bc89b46 100644 (file)
@@ -236,6 +236,7 @@ stack_setup:
        adr     r0, _start
        sub     r9, r6, r0              /* r9 <- relocation offset */
        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