Add target hook to override DWARF2 frame register size
authorMatthew Fortune <matthew.fortune@imgtec.com>
Thu, 4 Sep 2014 08:32:05 +0000 (08:32 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Thu, 4 Sep 2014 08:32:05 +0000 (08:32 +0000)
commitff050c66b18d8768b57b0c99f824e9b82e569ccb
tree36a08d3b50e1618d7539692d59cc1543305d5d9a
parenta0f75fa8c317ced0fb3d916d3b7f52c88eb4a8ea
Add target hook to override DWARF2 frame register size

gcc/

* target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook.
* targhooks.c (default_dwarf_frame_reg_mode): New function.
* targhooks.h (default_dwarf_frame_reg_mode): New prototype.
* doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document.
* doc/tm.texi: Regenerate.
* dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode
selection logic to default_dwarf_frame_reg_mode.

From-SVN: r214898
gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/dwarf2cfi.c
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h