Commit 34bbf618 authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Wolfgang Denk

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: default avatarJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
parent 4b29bdb0
......@@ -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
......
......@@ -616,7 +616,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
......
......@@ -456,7 +456,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
......
......@@ -671,7 +671,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
......
......@@ -644,7 +644,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
......
......@@ -586,7 +586,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
......
......@@ -907,7 +907,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
......
......@@ -955,7 +955,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
......
......@@ -1040,7 +1040,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
......
......@@ -730,7 +730,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
......
......@@ -587,7 +587,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
......
......@@ -1611,7 +1611,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment