Thu Jul 3 17:41:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
authorMichael Snyder <msnyder@vmware.com>
Fri, 4 Jul 1997 00:44:01 +0000 (00:44 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 4 Jul 1997 00:44:01 +0000 (00:44 +0000)
        * mips-tdep.c (mips_extract_return_value): align 4-byte float
        return values within the 8-byte FP register.

gdb/ChangeLog
gdb/mips-tdep.c

index 232511ed2e5c09083e425ad09f32fb681f68fc62..c65fbd4c9a75edd696cde6b71f221f056bb90416 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul  3 17:41:46 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)
+
+       * mips-tdep.c (mips_extract_return_value): align 4-byte float
+       return values within the 8-byte FP register.
+
 Thu Jul  3 13:48:11 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)
 
        * mips-tdep.c (mips_push_arguments): don't left-adjust 32-bit
index de60faedc8407a5511b7f236141921a4890fbd56..54d0fc530b3a3c470d964bcefa1a33166c35e19b 100644 (file)
@@ -1953,8 +1953,7 @@ mips_extract_return_value (valtype, regbuf, valbuf)
 
   if (TARGET_BYTE_ORDER == BIG_ENDIAN)
     { /* "un-left-justify" the value from the register */
-      if (len < REGISTER_RAW_SIZE (regnum)     &&
-         TYPE_CODE (valtype) != TYPE_CODE_FLT)
+      if (len < REGISTER_RAW_SIZE (regnum))
        offset = REGISTER_RAW_SIZE (regnum) - len;
       if (len > REGISTER_RAW_SIZE (regnum)     &&      /* odd-size structs */
          len < REGISTER_RAW_SIZE (regnum) * 2 &&