aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-avr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-08 10:36:39 +0000
committerAlan Modra <amodra@gmail.com>2009-09-08 10:36:39 +0000
commitd4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487 (patch)
tree90e1be6c8a9c98aab2d4c61bf25d71f604ad6a38 /gas/config/tc-avr.c
parent6e5e57c9e6372203fa99de754568a1a50cf28f76 (diff)
downloadgdb-d4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487.zip
gdb-d4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487.tar.gz
gdb-d4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487.tar.bz2
* read.c (emit_expr_fix): Handle size 3.
* config/tc-avr.c (md_assemble): Call dwarf2_emit_insn. * config/tc-d30v.c (write_long, write_1_short, write_2_short, md_assemble): Likewise. * config/tc-dlx.c (md_assemble): Likewise. * config/tc-i860.c (md_assemble): Likewise. * config/tc-mn10200.c (md_assemble): Likewise. * config/tc-pj.c (md_assemble): Likewise. * config/tc-vax.c (md_assemble): Likewise.
Diffstat (limited to 'gas/config/tc-avr.c')
-rw-r--r--gas/config/tc-avr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 5f243b4..9d14f64 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -1366,6 +1366,8 @@ md_assemble (char *str)
if (!avr_opt.all_opcodes && (opcode->isa & avr_mcu->isa) != opcode->isa)
as_bad (_("illegal opcode %s for mcu %s"), opcode->name, avr_mcu->name);
+ dwarf2_emit_insn (0);
+
/* We used to set input_line_pointer to the result of get_operands,
but that is wrong. Our caller assumes we don't change it. */
{