mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
ingenic: fix bugs introduced by 5900bf7
I must have been blind and copied some intermediate file instead of final version. No functional change, only fixes. Change-Id: Icaa868225517662c88f8492b1f04808407853361
This commit is contained in:
parent
c35e1db832
commit
7066197ccc
1 changed files with 6 additions and 6 deletions
|
|
@ -63,7 +63,7 @@ _relocate_loop:
|
||||||
addiu t1, 4
|
addiu t1, 4
|
||||||
addiu t0, 4
|
addiu t0, 4
|
||||||
bne t1, t2, _relocate_loop
|
bne t1, t2, _relocate_loop
|
||||||
sw t3, 0(t1)
|
sw t3, -4(t1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_start:
|
_start:
|
||||||
|
|
@ -134,7 +134,7 @@ _iram_loop:
|
||||||
addiu t1, 4
|
addiu t1, 4
|
||||||
addiu t0, 4
|
addiu t0, 4
|
||||||
bne t1, t2, _iram_loop
|
bne t1, t2, _iram_loop
|
||||||
sw t3, 0(t1)
|
sw t3, -4(t1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
----------------------------------------------------
|
----------------------------------------------------
|
||||||
|
|
@ -144,9 +144,9 @@ _iram_loop:
|
||||||
la t0, _edata
|
la t0, _edata
|
||||||
la t1, _end
|
la t1, _end
|
||||||
_bss_loop:
|
_bss_loop:
|
||||||
addiu t1, -4
|
addiu t1, 4
|
||||||
bne t0, t1, _bss_loop
|
bne t0, t1, _bss_loop
|
||||||
sw zero, 0(t1)
|
sw zero, -4(t1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
----------------------------------------------------
|
----------------------------------------------------
|
||||||
|
|
@ -159,9 +159,9 @@ _bss_loop:
|
||||||
li t2, 0xDEADBEEF
|
li t2, 0xDEADBEEF
|
||||||
|
|
||||||
_stack_loop:
|
_stack_loop:
|
||||||
addiu t1, -4
|
addiu t1, 4
|
||||||
bne t0, t1, _stack_loop
|
bne t0, t1, _stack_loop
|
||||||
sw t2, 0(t1)
|
sw t2, -4(t1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
----------------------------------------------------
|
----------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue