aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2007-03-02 01:55:06 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2007-03-02 01:55:06 +0000
commit37ea0b7e741cfc68669e8a6d460bfc5f8bfb31ba (patch)
treec1e2ef7127a2f1f85055feb6b8c5cb896632aad0 /gcc/target.h
parent9c4d24932ed29249ebb8ba1a3cff0679b9d2f58a (diff)
downloadgcc-37ea0b7e741cfc68669e8a6d460bfc5f8bfb31ba.zip
gcc-37ea0b7e741cfc68669e8a6d460bfc5f8bfb31ba.tar.gz
gcc-37ea0b7e741cfc68669e8a6d460bfc5f8bfb31ba.tar.bz2
target.h (init_dwarf_reg_sizes_extra): New target hook.
* target.h (init_dwarf_reg_sizes_extra): New target hook. * target-def.h (TARGET_INIT_DWARF_REG_SIZES_EXTRA): New default. * doc/tm.texi (TARGET_INIT_DWARF_REG_SIZES_EXTRA): Document. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Call this hook. * config/rs6000/rs6000.c (TARGET_INIT_DWARF_REG_SIZES_EXTRA, rs6000_init_dwarf_reg_sizes_extra): New. * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Support SPE register high parts. testsuite: * gcc.target/powerpc/spe-unwind-1.c, g++.dg/eh/simd-5.C: New tests. From-SVN: r122468
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 80f5a5a..d312c9f 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -601,6 +601,12 @@ struct gcc_target
hook should return NULL_RTX. */
rtx (* dwarf_register_span) (rtx);
+ /* If expand_builtin_init_dwarf_reg_sizes needs to fill in table
+ entries not corresponding directly to registers below
+ FIRST_PSEUDO_REGISTER, this hook should generate the necessary
+ code, given the address of the table. */
+ void (* init_dwarf_reg_sizes_extra) (tree);
+
/* Fetch the fixed register(s) which hold condition codes, for
targets where it makes sense to look for duplicate assignments to
the condition codes. This should return true if there is such a