* 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:
Joel Brobecker
2003-04-22 23:04:40 +00:00
parent 341eccbc3e
commit 772968793e
4 changed files with 16 additions and 11 deletions

View File

@ -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));