summaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-xtensa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 99509bdb95..c011600903 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;