This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] mips argument passing fixes for o32
>
> 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