mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
* config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
Update all the tests using SOFT_FLOAT considering the fact that this macro was always set to 0. * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT considering the fact that this macro was always set to 0. * hppa-tdep.h (hppa_store_return_value): Likewise. (hppa_extract_return_value): Likewise.
This commit is contained in:
@ -4763,7 +4763,7 @@ hppa_store_return_value (struct type *type, char *valbuf)
|
||||
? (8 - TYPE_LENGTH (type))
|
||||
: (4 - TYPE_LENGTH (type))),
|
||||
valbuf, TYPE_LENGTH (type));
|
||||
if (! SOFT_FLOAT && TYPE_CODE (type) == TYPE_CODE_FLT)
|
||||
if (TYPE_CODE (type) == TYPE_CODE_FLT)
|
||||
deprecated_write_register_bytes (REGISTER_BYTE (FP4_REGNUM),
|
||||
valbuf, TYPE_LENGTH (type));
|
||||
}
|
||||
@ -4778,7 +4778,7 @@ hppa_store_return_value (struct type *type, char *valbuf)
|
||||
void
|
||||
hppa_extract_return_value (struct type *type, char *regbuf, char *valbuf)
|
||||
{
|
||||
if (! SOFT_FLOAT && TYPE_CODE (type) == TYPE_CODE_FLT)
|
||||
if (TYPE_CODE (type) == TYPE_CODE_FLT)
|
||||
memcpy (valbuf,
|
||||
(char *)regbuf + REGISTER_BYTE (FP4_REGNUM),
|
||||
TYPE_LENGTH (type));
|
||||
|
Reference in New Issue
Block a user