diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-02-09 01:57:21 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-02-09 01:57:21 +0000 |
commit | 3f388b42b08a542ab952cfa494b059a2f6aa23a4 (patch) | |
tree | 11e7f697d85ef54dbc47591bc4f45867fc164631 /gcc/dwarf2out.c | |
parent | 5568fb48cc080bfcf8164b60e90f489130b0ea2e (diff) | |
download | gcc-3f388b42b08a542ab952cfa494b059a2f6aa23a4.zip gcc-3f388b42b08a542ab952cfa494b059a2f6aa23a4.tar.gz gcc-3f388b42b08a542ab952cfa494b059a2f6aa23a4.tar.bz2 |
dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
* dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
* dwarf2out.c (dwarf_cfi_name): Print name of new constant.
(reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
(output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
* frame.c (execute_cfa_insn): Handle
DW_CFA_GNU_negative_offset_extended.
From-SVN: r31858
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 5e09e4b..c363869 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -643,6 +643,8 @@ dwarf_cfi_name (cfi_opc) return "DW_CFA_GNU_window_save"; case DW_CFA_GNU_args_size: return "DW_CFA_GNU_args_size"; + case DW_CFA_GNU_negative_offset_extended: + return "DW_CFA_GNU_negative_offset_extended"; default: return "DW_CFA_<unknown>"; @@ -872,7 +874,10 @@ reg_save (label, reg, sreg, offset) offset /= DWARF_CIE_DATA_ALIGNMENT; if (offset < 0) - abort (); + { + cfi->dw_cfi_opc = DW_CFA_GNU_negative_offset_extended; + offset = -offset; + } cfi->dw_cfi_oprnd2.dw_cfi_offset = offset; } else @@ -1559,6 +1564,7 @@ output_cfi (cfi, fde) break; #endif case DW_CFA_offset_extended: + case DW_CFA_GNU_negative_offset_extended: case DW_CFA_def_cfa: output_uleb128 (cfi->dw_cfi_oprnd1.dw_cfi_reg_num); fputc ('\n', asm_out_file); |