PowerPC: Don't destroy fixup table while doing fixups
PATCH 1/1 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.
--- arch/powerpc/cpu/74xx_7xx/start.S | 2 +- arch/powerpc/cpu/mpc512x/start.S | 2 +- arch/powerpc/cpu/mpc5xx/start.S | 2 +- arch/powerpc/cpu/mpc5xxx/start.S | 2 +- arch/powerpc/cpu/mpc8220/start.S | 2 +- arch/powerpc/cpu/mpc824x/start.S | 2 +- arch/powerpc/cpu/mpc8260/start.S | 2 +- arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/start.S | 2 +- arch/powerpc/cpu/mpc86xx/start.S | 2 +- arch/powerpc/cpu/mpc8xx/start.S | 2 +- arch/powerpc/cpu/ppc4xx/start.S | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)
arch/powerpc/cpu/74xx_7xx/start.S +1 -1
@@ -724,7 +724,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
arch/powerpc/cpu/mpc512x/start.S +1 -1
@@ -617,7 +617,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
arch/powerpc/cpu/mpc5xx/start.S +1 -1
@@ -466,7 +466,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
arch/powerpc/cpu/mpc5xxx/start.S +1 -1
@@ -682,7 +682,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
arch/powerpc/cpu/mpc8220/start.S +1 -1
@@ -655,7 +655,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
arch/powerpc/cpu/mpc824x/start.S +1 -1
@@ -597,7 +597,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
arch/powerpc/cpu/mpc8260/start.S +1 -1
@@ -917,7 +917,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
arch/powerpc/cpu/mpc83xx/start.S +1 -1
@@ -988,7 +988,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
arch/powerpc/cpu/mpc85xx/start.S +1 -1
@@ -1027,7 +1027,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
arch/powerpc/cpu/mpc86xx/start.S +1 -1
@@ -741,7 +741,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
arch/powerpc/cpu/mpc8xx/start.S +1 -1
@@ -597,7 +597,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
arch/powerpc/cpu/ppc4xx/start.S +1 -1
@@ -1604,7 +1604,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
Signature · 1 line
1.7.2.2
PATCH 1/1 PowerPC: Don't destroy fixup table while doing fixups
Ping?
Quoted 185 lines
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 <[email protected]>--- arch/powerpc/cpu/74xx_7xx/start.S | 2 +- arch/powerpc/cpu/mpc512x/start.S | 2 +- arch/powerpc/cpu/mpc5xx/start.S | 2 +- arch/powerpc/cpu/mpc5xxx/start.S | 2 +- arch/powerpc/cpu/mpc8220/start.S | 2 +- arch/powerpc/cpu/mpc824x/start.S | 2 +- arch/powerpc/cpu/mpc8260/start.S | 2 +- arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/start.S | 2 +- arch/powerpc/cpu/mpc86xx/start.S | 2 +- arch/powerpc/cpu/mpc8xx/start.S | 2 +- arch/powerpc/cpu/ppc4xx/start.S | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)arch/powerpc/cpu/74xx_7xx/start.S +1
-1@@ -724,7 +724,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 3barch/powerpc/cpu/mpc512x/start.S +1
-1@@ -617,7 +617,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 3barch/powerpc/cpu/mpc5xx/start.S +1
-1@@ -466,7 +466,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 3barch/powerpc/cpu/mpc5xxx/start.S +1
-1@@ -682,7 +682,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 3barch/powerpc/cpu/mpc8220/start.S +1
-1@@ -655,7 +655,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 3barch/powerpc/cpu/mpc824x/start.S +1
-1@@ -597,7 +597,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 3barch/powerpc/cpu/mpc8260/start.S +1
-1@@ -917,7 +917,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 3barch/powerpc/cpu/mpc83xx/start.S +1
-1@@ -988,7 +988,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 3barch/powerpc/cpu/mpc85xx/start.S +1
-1@@ -1027,7 +1027,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 3barch/powerpc/cpu/mpc86xx/start.S +1
-1@@ -741,7 +741,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 3barch/powerpc/cpu/mpc8xx/start.S +1
-1@@ -597,7 +597,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 3barch/powerpc/cpu/ppc4xx/start.S +1
-2@@ -1604,7 +1604,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 --1.7.2.2
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Wolfgang Denk
AppliedPATCH 1/1 PowerPC: Don't destroy fixup table while doing fixups
In reply to Joakim TjernlundDear Joakim Tjernlund,
Quoted 6 lines · In message <[email protected]>…
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 <[email protected]>
Quoted 14 lines
--- arch/powerpc/cpu/74xx_7xx/start.S | 2 +- arch/powerpc/cpu/mpc512x/start.S | 2 +- arch/powerpc/cpu/mpc5xx/start.S | 2 +- arch/powerpc/cpu/mpc5xxx/start.S | 2 +- arch/powerpc/cpu/mpc8220/start.S | 2 +- arch/powerpc/cpu/mpc824x/start.S | 2 +- arch/powerpc/cpu/mpc8260/start.S | 2 +- arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/start.S | 2 +- arch/powerpc/cpu/mpc86xx/start.S | 2 +- arch/powerpc/cpu/mpc8xx/start.S | 2 +- arch/powerpc/cpu/ppc4xx/start.S | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Do not follow where the path may lead....go instead where there is no path and leave a trail.