mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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.
This commit is contained in:
@ -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 &&
|
||||
|
Reference in New Issue
Block a user