aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-01-20 22:29:24 +0000
committerAlan Modra <amodra@gcc.gnu.org>2004-01-21 08:59:24 +1030
commit34c80057fcd1c1019fa93f44483842e1d1c9cc55 (patch)
tree92a413817c8bb86d3351646e048b5b3145798b76 /gcc/doc/tm.texi
parenta42952105e3bbc56a74773323f81bf23bd7e5ba1 (diff)
downloadgcc-34c80057fcd1c1019fa93f44483842e1d1c9cc55.zip
gcc-34c80057fcd1c1019fa93f44483842e1d1c9cc55.tar.gz
gcc-34c80057fcd1c1019fa93f44483842e1d1c9cc55.tar.bz2
sysv4.h (DWARF2_FRAME_REG_OUT): Define.
* config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define. * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT. * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document. From-SVN: r76235
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r--gcc/doc/tm.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index fd2b370..7866e1a 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -3289,6 +3289,26 @@ column number to use instead.
See the PowerPC's SPE target for an example.
@end defmac
+@defmac DWARF_FRAME_REGNUM (@var{regno})
+
+Define this macro if the target's representation for dwarf registers
+used in .eh_frame or .debug_frame is different from that used in other
+debug info sections. Given a gcc hard register number, this macro
+should return the .eh_frame register number. The default is
+@code{DBX_REGISTER_NUMBER (@var{regno})}.
+
+@end defmac
+
+@defmac DWARF2_FRAME_REG_OUT (@var{regno}, @var{for_eh})
+
+Define this macro to map register numbers held in the call frame info
+that gcc has collected using @code{DWARF_FRAME_REGNUM} to those that
+should be output in .debug_frame (@code{@var{for_eh}} is zero) and
+.eh_frame (@code{@var{for_eh}} is non-zero). The default is to
+return @code{@var{regno}}.
+
+@end defmac
+
@node Elimination
@subsection Eliminating Frame Pointer and Arg Pointer