From: Bob Wilson Date: Wed, 19 Nov 2003 23:55:06 +0000 (+0000) Subject: * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e;p=binutils-gdb.git * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add call to dwarf2_emit_insn. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2195b9ee73f..a41416dc9d2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-11-19 Bob Wilson + + * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add + call to dwarf2_emit_insn. + 2003-11-18 Maciej W. Rozycki * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca" diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 99509bdb957..c0116009034 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -27,6 +27,7 @@ #include "subsegs.h" #include "xtensa-relax.h" #include "xtensa-istack.h" +#include "dwarf2dbg.h" #include "struc-symbol.h" #include "xtensa-config.h" @@ -3929,6 +3930,8 @@ xg_emit_insn (t_insn, record_fix) xtensa_insnbuf_to_chars (isa, insnbuf, f); + dwarf2_emit_insn (byte_count); + /* Now spit out the opcode fixup.... */ if (!has_fixup) return !ok;