aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-16 01:08:21 +0000
committerAlan Modra <amodra@gmail.com>2001-05-16 01:08:21 +0000
commit9fcc94b61152a17eb617087ed0d689d5f426883d (patch)
tree8f72671cdfc8c6dbb493b646523e73b5d545aa88 /gas/config/tc-arc.c
parent84fd0d38aef23f365fe9e1ef3dac9ed4f4ae3b4b (diff)
downloadgdb-9fcc94b61152a17eb617087ed0d689d5f426883d.zip
gdb-9fcc94b61152a17eb617087ed0d689d5f426883d.tar.gz
gdb-9fcc94b61152a17eb617087ed0d689d5f426883d.tar.bz2
Fix dwarf2_emit_insn calls when frag_var breaks things.
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.
Diffstat (limited to 'gas/config/tc-arc.c')
-rw-r--r--gas/config/tc-arc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 3cbd3c0..730cfc6 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -806,6 +806,7 @@ md_assemble (str)
f = frag_more (8);
md_number_to_chars (f, insn, 4);
md_number_to_chars (f + 4, limm, 4);
+ dwarf2_emit_insn (8);
}
else if (limm_reloc_p)
{
@@ -816,6 +817,7 @@ md_assemble (str)
{
f = frag_more (4);
md_number_to_chars (f, insn, 4);
+ dwarf2_emit_insn (4);
}
/* Create any fixups. */
@@ -870,8 +872,6 @@ md_assemble (str)
(bfd_reloc_code_real_type) reloc_type);
}
- dwarf2_emit_insn (4);
-
/* All done. */
return;
}