diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-08-29 20:20:18 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-08-29 20:20:18 +0000 |
commit | 364b6d8b23fffbc773c2bda23348d73e8de86e84 (patch) | |
tree | ffe7b74218f18af4d967a05c8fb7bb373ca2161d /gas/doc | |
parent | e294916c5a6fd7e6f6a13261100cb1d3a2ee5a82 (diff) | |
download | gdb-364b6d8b23fffbc773c2bda23348d73e8de86e84.zip gdb-364b6d8b23fffbc773c2bda23348d73e8de86e84.tar.gz gdb-364b6d8b23fffbc773c2bda23348d73e8de86e84.tar.bz2 |
* dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
(output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
nor tc_cfi_emit_pcrel_expr are defined.
(output_fde): Use tc_cfi_emit_pcrel_expr if available and
DIFF_EXPR_OK is not defined.
* config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
tc_cfi_emit_pcrel_expr): Define.
(sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
sparc_cfi_emit_pcrel_expr): New prototypes.
(sparc_cie_data_alignment): New decl.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
* config/tc-sparc.c: Include dw2gencfi.h.
(sparc_cie_data_alignment): New variable.
(md_begin): Initialize it.
(sparc_cfi_frame_initial_instructions): New function.
(sparc_regname_to_dw2regnum): Likewise.
(sparc_cfi_emit_pcrel_expr): Likewise.
* doc/as.texinfo: Document .cfi_gnu_window_save.
* config/tc-sparc.c (s_common): Cast last argument to long and
change format string to shut up warning.
testsuite/
* gas/cfi/cfi-sparc-1.s: New test.
* gas/cfi/cfi-sparc-1.d: New test.
* gas/cfi/cfi-sparc64-1.s: New test.
* gas/cfi/cfi-sparc64-1.d: New test.
* gas/cfi/cfi.exp: Run them.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 8d3bfc5..90bf7ca 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -4050,6 +4050,9 @@ using the known displacement of the CFA register from the CFA. This is often easier to use, because the number will match the code it's annotating. +@section @code{.cfi_gnu_window_save} +SPARC register window has been saved. + @section @code{.cfi_escape} @var{expression}[, @dots{}] Allows the user to add arbitrary bytes to the unwind info. One might use this to add OS-specific CFI opcodes, or generic CFI |