From 1233ae62992c4829296d29f67b78231db3b87a6f Mon Sep 17 00:00:00 2001
From: Richard Henderson <rth@redhat.com>
Date: Thu, 5 Jun 2003 06:53:40 +0000
Subject: [PATCH]         * dw2gencfi.c (output_cfi_insn): Fix typo for
 negative offsets.

---
 gas/ChangeLog   | 2 ++
 gas/dw2gencfi.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8abacaef05f..4dad6781d9c 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 76408a436e1..a22452453f9 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);
 	}
-- 
GitLab