* alpha-tdep.c (alpha_push_dummy_call): Use

builtin_type_ieee_double_little instead of builtin_type_double.
This commit is contained in:
Richard Henderson 2003-06-02 16:18:32 +00:00
parent 0ede8ecaa0
commit eb4edb88d8
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2003-06-02 Richard Henderson <rth@redhat.com> 2003-06-02 Richard Henderson <rth@redhat.com>
* alpha-tdep.c (alpha_push_dummy_call): Use
builtin_type_ieee_double_little instead of builtin_type_double.
* alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated
sign-extension of 32-bit values. sign-extension of 32-bit values.
(alpha_store_return_value): Similarly. (alpha_store_return_value): Similarly.

View file

@ -296,7 +296,7 @@ alpha_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr,
if (accumulate_size < sizeof (arg_reg_buffer) if (accumulate_size < sizeof (arg_reg_buffer)
&& TYPE_LENGTH (arg_type) == 4) && TYPE_LENGTH (arg_type) == 4)
{ {
arg_type = builtin_type_double; arg_type = builtin_type_ieee_double_little;
arg = value_cast (arg_type, arg); arg = value_cast (arg_type, arg);
} }
/* Tru64 5.1 has a 128-bit long double, and passes this by /* Tru64 5.1 has a 128-bit long double, and passes this by