This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: mips va_arg question
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Mike Stump'" <mrs at apple dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Fri, 13 Aug 2004 12:44:26 +0100
- Subject: RE: mips va_arg question
> -----Original Message-----
> From: Mike Stump [mailto:mrs@apple.com]
> Sent: 12 August 2004 22:33
> To: Dave Korn
> Cc: gcc@gcc.gnu.org; 'Richard Sandiford'; 'Mile Davidovic'
> Subject: Re: mips va_arg question
>
> On Aug 12, 2004, at 5:45 AM, Dave Korn wrote:
> > From his own inline asm. That doesn't even mention sp in
> the clobber
> > list.
>
> Hey, I know, let's propose a new extended asm form that
> allows this to
> just work... :-)
Didn't we just do this routine!? :)
>
However, the workaround is simple enough. He should compile with
-ffixed-29 to reserve SP for his own use and prevent the compiler from
touching it anywhere throughout the program!
cheers,
DaveK
--
Can't think of a witty .sigline today....