[rfa] mips argument passing fixes for o32

Andrew Cagney ac131313@cygnus.com
Thu Jul 12 12:38:00 GMT 2001


> 
> If you read the original message at:
>  < http://sources.redhat.com/ml/gdb-patches/2001-07/msg00156.html >
> you'll see the comment in GCC about this behavior.  It says that
> structures of less than word size will be passed in the high end of
> registers, as a hack for compatibility with other MIPS compilers.
> 
> It would be interesting to see how other compilers actually handle
> this, but I don't have access to any other little-endian MIPS
> toolchains.


Yes, but as far as I know, that hack is for big endian and not little 
endian mips.  I need to look at a few of the 60 odd MIPS ABI 
combinations that gdb can debug and check if I've got my story straight :-/

	Andrew



More information about the Gdb-patches mailing list