linux-mips
[Top] [All Lists]

Re: MIPS SF toolchain

To: David Daney <ddaney@avtrex.com>
Subject: Re: MIPS SF toolchain
From: Matej Kupljen <matej.kupljen@ultra.si>
Date: Thu, 08 Sep 2005 14:22:02 +0200
Cc: crossgcc@sources.redhat.com, linux-mips@linux-mips.org
In-reply-to: <1126179199.25389.20.camel@orionlinux.starfleet.com>
Organization: Ultra d.o.o.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1126098584.12696.19.camel@localhost.localdomain> <431F0850.8090804@avtrex.com> <1126168866.25388.11.camel@orionlinux.starfleet.com> <1126179199.25389.20.camel@orionlinux.starfleet.com>
Sender: linux-mips-bounce@linux-mips.org
Hi

I think I found the problem.

> -------------------------------------------------------------
> 0002fe80 <__longjmp>:
>    2fe80:       c4940038        lwc1    $f20,56(a0)
>    2fe84:       c495003c        lwc1    $f21,60(a0)
....

This code is written in  sysdeps/mips/setjmp_aux.c in 
inline assembly.

> and
> -------------------------------------------------------------
> 0002ff70 <__sigsetjmp_aux>:
>    2ff70:       3c1c0017        lui     gp,0x17
>    2ff74:       279cce40        addiu   gp,gp,-12736

This code is written in sysdeps/mips/__longjmp.c in 
inline assembly.

> How to solve this?

Because I am using sf, there is no need to store those
registers, or is it?
Can I just #ifdef this code if compiled for sf?

BR,
Matej


<Prev in Thread] Current Thread [Next in Thread>