gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 16 Dec 2004 08:53:43 +0000 (08:53 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 16 Dec 2004 08:53:43 +0000 (08:53 +0000)
2004-12-15  Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
generation to emit a factored offset.

gas/ChangeLog
gas/dw2gencfi.c

index ec03c7a7083c1ebfbe7c9523d3de083deb10bc17..851e4d43ed6fbbbdb2419a43b0594c03758cc235 100644 (file)
@@ -1,3 +1,9 @@
+2004-12-15  Jan Beulich  <jbeulich@novell.com>
+
+       * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
+       to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
+       generation to emit a factored offset.
+
 2004-12-10  Ian Lance Taylor  <ian@wasabisystems.com>
 
        * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
index 3bfd14f46ac6065111d66141c8a7661e6f76a088..687815cf60e383ea668bfa8be64f65ae49a3a1e0 100644 (file)
@@ -728,7 +728,7 @@ output_cfi_insn (struct cfi_insn_data *insn)
        {
          out_one (DW_CFA_def_cfa_sf);
          out_uleb128 (insn->u.ri.reg);
-         out_uleb128 (offset);
+         out_sleb128 (offset / DWARF2_CIE_DATA_ALIGNMENT);
        }
       else
        {
@@ -750,7 +750,7 @@ output_cfi_insn (struct cfi_insn_data *insn)
       if (offset < 0)
        {
          out_one (DW_CFA_def_cfa_offset_sf);
-         out_sleb128 (offset);
+         out_sleb128 (offset / DWARF2_CIE_DATA_ALIGNMENT);
        }
       else
        {
This page took 0.026567 seconds and 4 git commands to generate.