* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT range.
This commit is contained in:
parent
f9c026a85b
commit
eb1fe072ef
2 changed files with 8 additions and 7 deletions
|
@ -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>
|
2006-10-13 Mei Ligang <ligang@sunnorth.com.cn>
|
||||||
|
|
||||||
* config/tc-score.c (md_show_usage): Print -KPIC option usage.
|
* config/tc-score.c (md_show_usage): Print -KPIC option usage.
|
||||||
|
|
|
@ -1591,13 +1591,9 @@ out_debug_info (segT info_seg, segT abbrev_seg, segT line_seg, segT ranges_seg)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* This attributes is emitted if the code is disjoint. */
|
/* This attribute is emitted if the code is disjoint. */
|
||||||
|
/* DW_AT_ranges. */
|
||||||
/* DW_AT_ranges */
|
TC_DWARF2_EMIT_OFFSET (section_symbol (ranges_seg), sizeof_offset);
|
||||||
expr.X_op = O_symbol;
|
|
||||||
expr.X_add_symbol = section_symbol (ranges_seg);
|
|
||||||
expr.X_add_number = 0;
|
|
||||||
emit_expr (&expr, sizeof_address);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* DW_AT_name. We don't have the actual file name that was present
|
/* DW_AT_name. We don't have the actual file name that was present
|
||||||
|
|
Loading…
Reference in a new issue