mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
2003-04-09 Andrew Cagney <cagney@redhat.com>
* doublest.h: Update copyright. (deprecated_store_floating, deprecated_extract_floating): Rename store_floating and extract_floating. Update comments. * doublest.c: Update copyright. (extract_floating_by_length): Replace extract_floating. (store_floating_by_length): Replace store_floating. (deprecated_extract_floating): New function. (deprecated_store_floating): New function. (extract_typed_floating): Call extract_floating_by_length. (store_typed_floating): Call store_floating_by_length. * x86-64-tdep.c (x86_64_store_return_value): Update. * sh-tdep.c (sh3e_sh4_extract_return_value): Update. (sh64_extract_return_value): Update. (sh_sh4_register_convert_to_virtual): Update. (sh_sh64_register_convert_to_virtual): Update. (sh_sh4_register_convert_to_raw): Update. (sh_sh64_register_convert_to_raw): Update. * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. (rs6000_register_convert_to_raw): Update. * ia64-tdep.c (ia64_register_convert_to_virtual): Update. (ia64_register_convert_to_raw): Update. * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. (REGISTER_CONVERT_TO_VIRTUAL): Update. * arm-linux-tdep.c (arm_linux_push_arguments): Update. * alpha-tdep.c (alpha_register_convert_to_virtual): Update. (alpha_register_convert_to_raw): Update.
This commit is contained in:
@@ -1892,8 +1892,8 @@ rs6000_register_convert_to_virtual (int n, struct type *type,
|
||||
{
|
||||
if (TYPE_LENGTH (type) != REGISTER_RAW_SIZE (n))
|
||||
{
|
||||
double val = extract_floating (from, REGISTER_RAW_SIZE (n));
|
||||
store_floating (to, TYPE_LENGTH (type), val);
|
||||
double val = deprecated_extract_floating (from, REGISTER_RAW_SIZE (n));
|
||||
deprecated_store_floating (to, TYPE_LENGTH (type), val);
|
||||
}
|
||||
else
|
||||
memcpy (to, from, REGISTER_RAW_SIZE (n));
|
||||
@@ -1908,8 +1908,8 @@ rs6000_register_convert_to_raw (struct type *type, int n,
|
||||
{
|
||||
if (TYPE_LENGTH (type) != REGISTER_RAW_SIZE (n))
|
||||
{
|
||||
double val = extract_floating (from, TYPE_LENGTH (type));
|
||||
store_floating (to, REGISTER_RAW_SIZE (n), val);
|
||||
double val = deprecated_extract_floating (from, TYPE_LENGTH (type));
|
||||
deprecated_store_floating (to, REGISTER_RAW_SIZE (n), val);
|
||||
}
|
||||
else
|
||||
memcpy (to, from, REGISTER_RAW_SIZE (n));
|
||||
|
||||
Reference in New Issue
Block a user