diff options
author | Nick Clifton <nickc@redhat.com> | 2006-10-13 11:36:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-10-13 11:36:03 +0000 |
commit | 4c8856fdb5a3baa02308394d66a052c59d545909 (patch) | |
tree | c59120407719efcab74cfd87773a3cafc937ded9 /gas/dwarf2dbg.c | |
parent | 94a6b686fbcc95474c21d88095b2adc5e70d676c (diff) | |
download | binutils-redhat-4c8856fdb5a3baa02308394d66a052c59d545909.tar.gz |
* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT range.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r-- | gas/dwarf2dbg.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index eb9584b615..671a9b030d 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -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 |