summaryrefslogtreecommitdiff
path: root/arch/sh/crt_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/crt_arch.h')
-rw-r--r--arch/sh/crt_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/crt_arch.h b/arch/sh/crt_arch.h
index e9745f9b..b902dcc8 100644
--- a/arch/sh/crt_arch.h
+++ b/arch/sh/crt_arch.h
@@ -12,7 +12,10 @@ START ": \n"
" bsr __fdpic_fixup \n"
" add r0, r6 \n"
" mov r0, r12 \n"
+" mov r10, r5 \n"
" mov r15, r4 \n"
+" mov.l r9, @-r15 \n"
+" mov.l r8, @-r15 \n"
" mov #-16, r0 \n"
" bsr " START "_c \n"
" and r0, r15 \n"