From f970ce6348dd779ce14d217ba6d9c275e6b6cbb7 Mon Sep 17 00:00:00 2001 From: Tobias Anderberg Date: Mon, 10 May 2004 12:59:17 +0000 Subject: Save r0 before modifying it. --- ldso/ldso/cris/resolve.S | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ldso') diff --git a/ldso/ldso/cris/resolve.S b/ldso/ldso/cris/resolve.S index 406a3b269..fff21382b 100644 --- a/ldso/ldso/cris/resolve.S +++ b/ldso/ldso/cris/resolve.S @@ -24,8 +24,9 @@ _dl_linux_resolve: push $r11 push $r10 push $r9 + push $r0 push $srp - move.d [$sp+6*4],$r11 + move.d [$sp+7*4],$r11 move $mof,$r10 #ifdef __PIC__ move.d $pc,$r0 @@ -36,8 +37,9 @@ _dl_linux_resolve: #else jsr _dl_linux_resolver #endif - move.d $r10,[$sp+6*4] + move.d $r10,[$sp+7*4] pop $srp + pop $r0 pop $r9 pop $r10 pop $r11 -- cgit v1.2.3