* config/xtensa-istack.h (tinsn_struct): Replace linenum field
authorBob Wilson <bob.wilson@acm.org>
Mon, 19 Nov 2007 19:40:55 +0000 (19:40 +0000)
committerBob Wilson <bob.wilson@acm.org>
Mon, 19 Nov 2007 19:40:55 +0000 (19:40 +0000)
commitb224e962a8c9617f9b04f07393c70776b8edb9b2
treeed4109f0381ed0054fc2cde3901c1b98b144ea70
parent1eee4adcdbd8631ec670405f6d61ada09164de5d
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
with loc_directive_seen and debug_line.
* config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h.
(xg_build_to_insn): Copy the new fields instead of linenum.
(xg_build_token_insn): Likewise.  Abort on INSTR_LABEL_DEF and move
common code out of the switch.
(md_assemble): Set new tinsn fields from DWARF information.  Call
dwarf2_consume_line_info.
(xg_assemble_vliw_tokens): Update the code to select the "best" line
number to use new information.  Call dwarf2_gen_line_info instead
of dwarf2_emit_insn.
gas/ChangeLog
gas/config/tc-xtensa.c
gas/config/xtensa-istack.h