From: Gabor Juhos Date: Fri, 14 Jun 2013 12:47:10 +0000 (+0200) Subject: MIPS: xburst/start.S: rework relocation info check X-Git-Tag: v2025.01-rc5-pxa1908~16020^2~3 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d707e5b713e1188556027d835a542d1fc888179d;p=u-boot.git MIPS: xburst/start.S: rework relocation info check Make it similar to the code in mips{32,64}/start.S, in order to allow further unifications. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- diff --git a/arch/mips/cpu/xburst/start.S b/arch/mips/cpu/xburst/start.S index e5ff4e0724..10dffb4a5c 100644 --- a/arch/mips/cpu/xburst/start.S +++ b/arch/mips/cpu/xburst/start.S @@ -139,10 +139,10 @@ in_ram: addi t1, 8 1: - lw t3, -4(t1) # t3 <-- relocation info + lw t8, -4(t1) # t8 <-- relocation info - sub t3, 3 - bnez t3, 2f # skip non R_MIPS_REL32 entries + li t3, 3 + bne t8, t3, 2f # skip non R_MIPS_REL32 entries nop lw t3, -8(t1) # t3 <-- location to fix up in FLASH