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 <Joakim.Tjernlund@transmode.se>
This commit is contained in:
Joakim Tjernlund 2010-11-04 19:02:00 +01:00 committed by Wolfgang Denk
parent 4b29bdb0ed
commit 34bbf61860
12 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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