* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT...
authorNick Clifton <nickc@redhat.com>
Fri, 13 Oct 2006 11:36:03 +0000 (11:36 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 13 Oct 2006 11:36:03 +0000 (11:36 +0000)
gas/ChangeLog
gas/dwarf2dbg.c

index 74928481d72a125729bd15c583a23b8ee0d6e80e..d7681b7dbf431143d47d7d90be8a88b43a4de10b 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-13  Sterling Augstine  <sterling@tensilica.com>
+
+       * dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit
+       a disjoint DW_AT range.
+
 2006-10-13  Mei Ligang  <ligang@sunnorth.com.cn>
 
        * config/tc-score.c (md_show_usage): Print -KPIC option usage.
index eb9584b615b462b0991c3233ff1693abf443e938..671a9b030d4b9932181049de03dc0291d2e0e7af 100644 (file)
@@ -1591,13 +1591,9 @@ out_debug_info (segT info_seg, segT abbrev_seg, segT line_seg, segT ranges_seg)
     }
   else
     {
-      /* This attributes is emitted if the code is disjoint.  */
-      
-      /* DW_AT_ranges */
-      expr.X_op = O_symbol;
-      expr.X_add_symbol = section_symbol (ranges_seg);
-      expr.X_add_number = 0;
-      emit_expr (&expr, sizeof_address);
+      /* This attribute is emitted if the code is disjoint.  */
+      /* DW_AT_ranges.  */
+      TC_DWARF2_EMIT_OFFSET (section_symbol (ranges_seg), sizeof_offset);
     }
 
   /* DW_AT_name.  We don't have the actual file name that was present
This page took 0.027783 seconds and 4 git commands to generate.