From 1233ae62992c4829296d29f67b78231db3b87a6f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 5 Jun 2003 06:53:40 +0000 Subject: * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets. --- gas/ChangeLog | 2 ++ gas/dw2gencfi.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 8abacae..4dad678 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ 2003-06-04 Richard Henderson + * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets. + * dw2gencfi.c (cfi_finish): Set .eh_frame read-only. 2003-06-04 Richard Henderson diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index 76408a4..a224524 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -576,7 +576,7 @@ output_cfi_insn (struct cfi_insn_data *insn) offset = insn->u.ri.offset / DWARF2_CIE_DATA_ALIGNMENT; if (offset < 0) { - out_one (DW_CFA_offset_extended); + out_one (DW_CFA_offset_extended_sf); out_uleb128 (regno); out_sleb128 (offset); } -- cgit v1.1