diff options
author | Bob Wilson <bob.wilson@acm.org> | 2003-11-19 23:55:06 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2003-11-19 23:55:06 +0000 |
commit | cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e (patch) | |
tree | 32437ba66c1de9c540cc2209213ac4fa944a5251 | |
parent | d6bfa74209bc8178d8ac94e2eaa015a39560e952 (diff) | |
download | fsf-binutils-gdb-cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e.zip fsf-binutils-gdb-cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e.tar.gz fsf-binutils-gdb-cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e.tar.bz2 |
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
call to dwarf2_emit_insn.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-xtensa.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2195b9e..a41416d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-11-19 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add + call to dwarf2_emit_insn. + 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * 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 99509bd..c011600 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; |