+2001-05-11 Jim Blandy <jimb@redhat.com>
+
+ * mips-tdep.c (mips_store_return_value,
+ mips_extract_return_value): Pass arguments to
+ return_value_location in the proper order.
+
2001-05-11 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (VERSION): Delete. Moved to file ``version.in''.
{
struct return_value_word lo;
struct return_value_word hi;
- return_value_location (valtype, &lo, &hi);
+ return_value_location (valtype, &hi, &lo);
memcpy (valbuf + lo.buf_offset,
regbuf + REGISTER_BYTE (lo.reg) + lo.reg_offset,
char raw_buffer[MAX_REGISTER_RAW_SIZE];
struct return_value_word lo;
struct return_value_word hi;
- return_value_location (valtype, &lo, &hi);
+ return_value_location (valtype, &hi, &lo);
memset (raw_buffer, 0, sizeof (raw_buffer));
memcpy (raw_buffer + lo.reg_offset, valbuf + lo.buf_offset, lo.len);