mips va_arg question
Dave Korn
dk@artimi.com
Fri Aug 13 12:18:00 GMT 2004
> -----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....
More information about the Gcc
mailing list