diff options
author | Alan Modra <amodra@gmail.com> | 2014-06-16 10:02:59 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-06-16 12:33:42 +0930 |
commit | 97d24fbbf5300d5b03e48018454335772d9304e8 (patch) | |
tree | 9303af7e1dc8f226b79d6a55291b4c3f002a53ec /gas/write.h | |
parent | 1ab668bf2a42ad6c9ef2f691257118faba65bfe9 (diff) | |
download | gdb-97d24fbbf5300d5b03e48018454335772d9304e8.zip gdb-97d24fbbf5300d5b03e48018454335772d9304e8.tar.gz gdb-97d24fbbf5300d5b03e48018454335772d9304e8.tar.bz2 |
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.
Diffstat (limited to 'gas/write.h')
0 files changed, 0 insertions, 0 deletions