From 7066197ccc47f292e8d80e21293475a3a782f5e7 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Tue, 4 Mar 2014 10:22:12 +0100 Subject: 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 --- firmware/target/mips/ingenic_jz47xx/crt0.S | 12 ++++++------ 1 file 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: addiu t1, 4 addiu t0, 4 bne t1, t2, _relocate_loop - sw t3, 0(t1) + sw t3, -4(t1) #endif _start: @@ -134,7 +134,7 @@ _iram_loop: addiu t1, 4 addiu t0, 4 bne t1, t2, _iram_loop - sw t3, 0(t1) + sw t3, -4(t1) /* ---------------------------------------------------- @@ -144,9 +144,9 @@ _iram_loop: la t0, _edata la t1, _end _bss_loop: - addiu t1, -4 + addiu t1, 4 bne t0, t1, _bss_loop - sw zero, 0(t1) + sw zero, -4(t1) /* ---------------------------------------------------- @@ -159,9 +159,9 @@ _bss_loop: li t2, 0xDEADBEEF _stack_loop: - addiu t1, -4 + addiu t1, 4 bne t0, t1, _stack_loop - sw t2, 0(t1) + sw t2, -4(t1) /* ---------------------------------------------------- -- cgit v1.2.3