aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/brcm-2.4/image/lzma-loader/src/head.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/image/lzma-loader/src/head.S b/target/linux/brcm-2.4/image/lzma-loader/src/head.S
index 9bfbd53d51..3a33e40163 100644
--- a/target/linux/brcm-2.4/image/lzma-loader/src/head.S
+++ b/target/linux/brcm-2.4/image/lzma-loader/src/head.S
@@ -38,6 +38,11 @@
.text
LEAF(startup)
.set noreorder
+ addi sp, -48
+ sw a0, 16(sp)
+ sw a1, 20(sp)
+ sw a2, 24(sp)
+ sw a3, 28(sp)
/* Copy decompressor code to the right place */
li t2, BZ_TEXT_START