diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2001-12-06 21:38:03 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2001-12-06 21:38:03 +0000 |
commit | 919543abfebfc21d56c54f2efd749b4a5ed199be (patch) | |
tree | cd6dbf587957cb3511174505bc954073ae688089 /gcc/doc | |
parent | 9d6a24bd514b4056553f49053d3c4b3862401207 (diff) | |
download | gcc-919543abfebfc21d56c54f2efd749b4a5ed199be.zip gcc-919543abfebfc21d56c54f2efd749b4a5ed199be.tar.gz gcc-919543abfebfc21d56c54f2efd749b4a5ed199be.tar.bz2 |
tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
* doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
(PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
* unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
to PRE_GCC3_DWARF_FRAME_REGISTERS.
(frame_state): Same.
(PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r47730
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 67b78e6..0991bf0 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -3011,6 +3011,33 @@ macros and should be used to refer to those items. If the static chain is passed in a register, the two previous macros should be defined instead. + +@findex DWARF_FRAME_REGISTERS +@item DWARF_FRAME_REGISTERS +This macro specifies the maximum number of hard registers that can be +saved in a call frame. This is used to size data structures used in +DWARF2 exception handling. + +Prior to GCC 3.0, this macro was needed in order to establish a stable +exception handling ABI in the face of adding new hard registers for ISA +extensions. In GCC 3.0 and later, the EH ABI is insulated from changes +in the number of hard registers. Nevertheless, this macro can still be +used to reduce the runtime memory requirements of the exception handling +routines, which can be substantial if the ISA contains a lot of +registers that are not call-saved. + +If this macro is not defined, it defaults to +@code{FIRST_PSEUDO_REGISTER}. + +@findex PRE_GCC3_DWARF_FRAME_REGISTERS +@item PRE_GCC3_DWARF_FRAME_REGISTERS + +This macro is similar to @code{DWARF_FRAME_REGISTERS}, but is provided +for backward compatibility in pre GCC 3.0 compiled code. + +If this macro is not defined, it defaults to +@code{DWARF_FRAME_REGISTERS}. + @end table @node Elimination |