aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-05 06:53:40 +0000
committerRichard Henderson <rth@redhat.com>2003-06-05 06:53:40 +0000
commit1233ae62992c4829296d29f67b78231db3b87a6f (patch)
treeb34443766ae2394d096600accd343a1e45f64cb5
parent757bc39371648891e9187f0f32f2b76a5464666a (diff)
downloadgdb-1233ae62992c4829296d29f67b78231db3b87a6f.zip
gdb-1233ae62992c4829296d29f67b78231db3b87a6f.tar.gz
gdb-1233ae62992c4829296d29f67b78231db3b87a6f.tar.bz2
* dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/dw2gencfi.c2
2 files changed, 3 insertions, 1 deletions
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 <rth@redhat.com>
+ * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
+
* dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
2003-06-04 Richard Henderson <rth@redhat.com>
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);
}