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 <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
This commit is contained in:
parent
e5c868a208
commit
d707e5b713
@ -139,10 +139,10 @@ in_ram:
|
|||||||
addi t1, 8
|
addi t1, 8
|
||||||
|
|
||||||
1:
|
1:
|
||||||
lw t3, -4(t1) # t3 <-- relocation info
|
lw t8, -4(t1) # t8 <-- relocation info
|
||||||
|
|
||||||
sub t3, 3
|
li t3, 3
|
||||||
bnez t3, 2f # skip non R_MIPS_REL32 entries
|
bne t8, t3, 2f # skip non R_MIPS_REL32 entries
|
||||||
nop
|
nop
|
||||||
|
|
||||||
lw t3, -8(t1) # t3 <-- location to fix up in FLASH
|
lw t3, -8(t1) # t3 <-- location to fix up in FLASH
|
||||||
|
Loading…
Reference in New Issue
Block a user