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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 568df4e..8f1aec1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2014-06-16 Alan Modra <amodra@gmail.com> + * config/tc-dlx.c (machine_ip): Move initialisation of the_insn + earlier. + +2014-06-16 Alan Modra <amodra@gmail.com> + * config/tc-i386.c (reloc): Don't avoid pcrel check for BFD_RELOC_SIZE64. Return NO_RELOC on failing pcrel check. |