From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] mips argument passing fixes for o32 Date: Thu, 12 Jul 2001 12:38:00 -0000 Message-id: <3B4DFCBB.8010405@cygnus.com> References: <20010706112635.A5870@nevyn.them.org> <3B4D5E95.6010407@cygnus.com> <20010712103946.C6359@nevyn.them.org> <3B4DF3A9.8010205@cygnus.com> <20010712122114.B25739@nevyn.them.org> X-SW-Source: 2001-07/msg00307.html > > 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