diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2003-03-05 22:37:52 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2003-03-05 22:37:52 +0000 |
commit | 967143957e1b219647022c9b01530af954ae54f1 (patch) | |
tree | 374e685d8676bc7828b9b030e68b5e0b0435ab14 /gcc/target.h | |
parent | dd6eaaed371ccc9da18d960d4a020009f055adcf (diff) | |
download | gcc-967143957e1b219647022c9b01530af954ae54f1.zip gcc-967143957e1b219647022c9b01530af954ae54f1.tar.gz gcc-967143957e1b219647022c9b01530af954ae54f1.tar.bz2 |
tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
2003-03-05 Aldy Hernandez <aldyh@redhat.com>
* doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
* config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
* hooks.c (hook_rtx_rtx_null): New.
* hooks.h (hook_rtx_rtx_null): Protoize.
* target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
(TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
* target.h (struct gcc_target): Add dwarf_register_span.
* dwarf2out.c (multiple_reg_loc_descriptor): New.
(one_reg_loc_descriptor): New.
(reg_loc_descriptor): Add support for values that span more than
one register.
From-SVN: r63870
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 95c97b4..22558e9 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -334,6 +334,14 @@ struct gcc_target invalid addresses. */ int (* address_cost) PARAMS ((rtx x)); + /* Given a register, this hook should return a parallel of registers + to represent where to find the register pieces. Define this hook + if the register and its mode are represented in Dwarf in + non-contiguous locations, or if the register should be + represented in more than one register in Dwarf. Otherwise, this + hook should return NULL_RTX. */ + rtx (* dwarf_register_span) PARAMS ((rtx)); + /* Leave the boolean fields at the end. */ /* True if arbitrary sections are supported. */ |