mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
MIPS: mips32/start.S: rework relocation info check
Make it similar to the code in mips64/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
680cb2dc3a
commit
691995f9ab
1 changed files with 3 additions and 3 deletions
|
|
@ -227,10 +227,10 @@ in_ram:
|
|||
addi t1, 8
|
||||
|
||||
1:
|
||||
lw t3, -4(t1) # t3 <-- relocation info
|
||||
lw t8, -4(t1) # t8 <-- relocation info
|
||||
|
||||
sub t3, 3
|
||||
bnez t3, 2f # skip non R_MIPS_REL32 entries
|
||||
li t3, 3
|
||||
bne t8, t3, 2f # skip non R_MIPS_REL32 entries
|
||||
nop
|
||||
|
||||
lw t3, -8(t1) # t3 <-- location to fix up in FLASH
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue