diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-05-03 21:56:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-05-03 21:56:09 +0000 |
commit | f595cb1909c318d0baf767a2a70c37caf56a111c (patch) | |
tree | 18fb26cb22a24d7c569115839cf5d7188eaf023a /binutils/ChangeLog-0001 | |
parent | aaa75496b07d9981304d687795fc8953ba424de3 (diff) | |
download | gdb-f595cb1909c318d0baf767a2a70c37caf56a111c.zip gdb-f595cb1909c318d0baf767a2a70c37caf56a111c.tar.gz gdb-f595cb1909c318d0baf767a2a70c37caf56a111c.tar.bz2 |
* m68k-tdep.h (struct gdbarch_tdep): Add member
struct_value_regnum.
(m68k_svr4_init_abi): New prototype.
* m68k-tdep.c: Include "floatformat.h". Add comment about all the
different calling conventions.
(m68k_extract_return_value): Remove code dealing with single-field
structs.
(m68k_store_return_value): Remove code dealing with single-field
structs. Correctly store return values of 5, 6, 7 or 8 bytes.
(m68k_extract_struct_value_address): Remove function.
(m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
(m68k_reg_struct_return_p, m68k_return_value)
(m68k_svr4_return_value): New functions.
(m68k_use_struct_convention): Remove function.
(m68k_push_dummy_call): Use new struct_value_regnum member of
`struct gdbarch_tdep' instead of hardcoded register number to
store STRUCT_ADDR.
(m68k_svr4_init_abi): New function.
(m68k_gdbarch_init): Don't set extract_return_value,
store_return_values, deprecated_extract_struct_value_address and
use_struct_convention. Set return_value instead. Initialize new
struct_value_regnum member of `struct gdbarch_tdep'.
* m68klinux-tdep.c: Update copyright year.
(m68k_linux_extract_return_value, m68k_linux_store_return_value)
(m68k_linux_extract_struct_value_address): Remove function.
(m68k_linux_init_abi): Don't set extract_return_value,
store_return_values, deprecated_extract_struct_value_address and
use_struct_convention. Call m68k_svr4_init_abi but override the
new struct_value_regnum member of `struct gdbarch_tdep'.
* Makefile.in (m68k-tdep.o): Update dependencies.
Diffstat (limited to 'binutils/ChangeLog-0001')
0 files changed, 0 insertions, 0 deletions