From 34bbf618600fb6961d8359e42fb87e59fbd788d9 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Thu, 4 Nov 2010 19:02:00 +0100 Subject: PowerPC: Don't destroy fixup table while doing fixups The fixup procedure just stored a constant value in the fixup table rather than just adjusting the table. Although that doesn't seem to do any harm, it prevents relocation more that once. Signed-off-by: Joakim Tjernlund --- arch/powerpc/cpu/74xx_7xx/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/powerpc/cpu/74xx_7xx') diff --git a/arch/powerpc/cpu/74xx_7xx/start.S b/arch/powerpc/cpu/74xx_7xx/start.S index 280781e16..985e1ce70 100644 --- a/arch/powerpc/cpu/74xx_7xx/start.S +++ b/arch/powerpc/cpu/74xx_7xx/start.S @@ -712,7 +712,7 @@ in_ram: lwzux r0,r4,r11 cmpwi r0,0 add r0,r0,r11 - stw r10,0(r3) + stw r4,0(r3) beq- 5f stw r0,0(r4) 5: bdnz 3b -- cgit v1.2.3