diff options
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/crt0.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S index 16751ba0f6..f0ee5aa8bc 100644 --- a/firmware/target/mips/ingenic_jz47xx/crt0.S +++ b/firmware/target/mips/ingenic_jz47xx/crt0.S | |||
@@ -63,7 +63,7 @@ _relocate_loop: | |||
63 | addiu t1, 4 | 63 | addiu t1, 4 |
64 | addiu t0, 4 | 64 | addiu t0, 4 |
65 | bne t1, t2, _relocate_loop | 65 | bne t1, t2, _relocate_loop |
66 | sw t3, 0(t1) | 66 | sw t3, -4(t1) |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | _start: | 69 | _start: |
@@ -134,7 +134,7 @@ _iram_loop: | |||
134 | addiu t1, 4 | 134 | addiu t1, 4 |
135 | addiu t0, 4 | 135 | addiu t0, 4 |
136 | bne t1, t2, _iram_loop | 136 | bne t1, t2, _iram_loop |
137 | sw t3, 0(t1) | 137 | sw t3, -4(t1) |
138 | 138 | ||
139 | /* | 139 | /* |
140 | ---------------------------------------------------- | 140 | ---------------------------------------------------- |
@@ -144,9 +144,9 @@ _iram_loop: | |||
144 | la t0, _edata | 144 | la t0, _edata |
145 | la t1, _end | 145 | la t1, _end |
146 | _bss_loop: | 146 | _bss_loop: |
147 | addiu t1, -4 | 147 | addiu t1, 4 |
148 | bne t0, t1, _bss_loop | 148 | bne t0, t1, _bss_loop |
149 | sw zero, 0(t1) | 149 | sw zero, -4(t1) |
150 | 150 | ||
151 | /* | 151 | /* |
152 | ---------------------------------------------------- | 152 | ---------------------------------------------------- |
@@ -159,9 +159,9 @@ _bss_loop: | |||
159 | li t2, 0xDEADBEEF | 159 | li t2, 0xDEADBEEF |
160 | 160 | ||
161 | _stack_loop: | 161 | _stack_loop: |
162 | addiu t1, -4 | 162 | addiu t1, 4 |
163 | bne t0, t1, _stack_loop | 163 | bne t0, t1, _stack_loop |
164 | sw t2, 0(t1) | 164 | sw t2, -4(t1) |
165 | 165 | ||
166 | /* | 166 | /* |
167 | ---------------------------------------------------- | 167 | ---------------------------------------------------- |