Don't leave DLX the_insn uninitialised
authorAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 00:32:59 +0000 (10:02 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 03:03:42 +0000 (12:33 +0930)
commit97d24fbbf5300d5b03e48018454335772d9304e8
tree9303af7e1dc8f226b79d6a55291b4c3f002a53ec
parent1ab668bf2a42ad6c9ef2f691257118faba65bfe9
Don't leave DLX the_insn uninitialised

In particular the_insn.reloc must be initialised, otherwise the early
exit cases for bad opcodes will result in cascading errors if
write_object_file is called after an error.

* config/tc-dlx.c (machine_ip): Move initialisation of the_insn
earlier.
gas/ChangeLog
gas/config/tc-dlx.c