* dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.

This commit is contained in:
Richard Henderson 2003-06-05 06:53:40 +00:00
parent 757bc39371
commit 1233ae6299
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2003-06-04 Richard Henderson <rth@redhat.com> 2003-06-04 Richard Henderson <rth@redhat.com>
* dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
* dw2gencfi.c (cfi_finish): Set .eh_frame read-only. * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
2003-06-04 Richard Henderson <rth@redhat.com> 2003-06-04 Richard Henderson <rth@redhat.com>

View File

@ -576,7 +576,7 @@ output_cfi_insn (struct cfi_insn_data *insn)
offset = insn->u.ri.offset / DWARF2_CIE_DATA_ALIGNMENT; offset = insn->u.ri.offset / DWARF2_CIE_DATA_ALIGNMENT;
if (offset < 0) if (offset < 0)
{ {
out_one (DW_CFA_offset_extended); out_one (DW_CFA_offset_extended_sf);
out_uleb128 (regno); out_uleb128 (regno);
out_sleb128 (offset); out_sleb128 (offset);
} }