diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-01-20 22:29:24 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-01-21 08:59:24 +1030 |
commit | 34c80057fcd1c1019fa93f44483842e1d1c9cc55 (patch) | |
tree | 92a413817c8bb86d3351646e048b5b3145798b76 /gcc/doc/tm.texi | |
parent | a42952105e3bbc56a74773323f81bf23bd7e5ba1 (diff) | |
download | gcc-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.texi | 20 |
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 |