diff options
author | Tobias Anderberg <tobias.anderberg@axis.com> | 2004-05-10 12:59:17 +0000 |
---|---|---|
committer | Tobias Anderberg <tobias.anderberg@axis.com> | 2004-05-10 12:59:17 +0000 |
commit | f970ce6348dd779ce14d217ba6d9c275e6b6cbb7 (patch) | |
tree | 8f94e34b58dfafad1411459a95b0db6dbdb056dd /ldso | |
parent | 58fff9b55ce0d1b45388954e56f4832db7ff85c0 (diff) |
Save r0 before modifying it.
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/cris/resolve.S | 6 |
1 files changed, 4 insertions, 2 deletions
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 |