soc/cores/cpu/serv: fix crt0 .data initialize
This commit is contained in:
parent
dcd99cc999
commit
632cfcc257
|
@ -14,8 +14,8 @@ reset_vector:
|
|||
la t1, _edata
|
||||
la t2, _fdata_rom
|
||||
1: beq t0, t1, 2f
|
||||
lw t3, 0(t0)
|
||||
sw t3, 0(t2)
|
||||
lw t3, 0(t2)
|
||||
sw t3, 0(t0)
|
||||
addi t0, t0, 4
|
||||
addi t2, t2, 4
|
||||
j 1b
|
||||
|
|
Loading…
Reference in New Issue