aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d30v.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-d30v.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-d30v.c')
-rw-r--r--gas/config/tc-d30v.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c
index 5e3e96e..3e95375 100644
--- a/gas/config/tc-d30v.c
+++ b/gas/config/tc-d30v.c
@@ -23,6 +23,7 @@
#include "safe-ctype.h"
#include "subsegs.h"
#include "opcode/d30v.h"
+#include "dwarf2dbg.h"
const char comment_chars[] = ";";
const char line_comment_chars[] = "#";
@@ -593,6 +594,7 @@ write_long (struct d30v_insn *opcode ATTRIBUTE_UNUSED,
int i, where;
char *f = frag_more (8);
+ dwarf2_emit_insn (8);
insn |= FM11;
d30v_number_to_chars (f, insn, 8);
@@ -620,6 +622,7 @@ write_1_short (struct d30v_insn *opcode,
char *f = frag_more (8);
int i, where;
+ dwarf2_emit_insn (8);
if (warn_nops == NOP_ALL)
as_warn (_("%s NOP inserted"), use_sequential ?
_("sequential") : _("parallel"));
@@ -1087,6 +1090,7 @@ write_2_short (struct d30v_insn *opcode1,
}
f = frag_more (8);
+ dwarf2_emit_insn (8);
d30v_number_to_chars (f, insn, 8);
/* If the previous instruction was a 32-bit multiply but it is put into a
@@ -1684,6 +1688,7 @@ md_assemble (char *str)
else
{
f = frag_more (8);
+ dwarf2_emit_insn (8);
d30v_number_to_chars (f, NOP2, 8);
if (warn_nops == NOP_ALL || warn_nops == NOP_MULTIPLY)