gas/arc: Fix array overrun when checking opcode array
[binutils-gdb.git] / gas / ChangeLog
index 745c13c492f33e4b58fbf46cd3fca5b980314b17..ac921abf22f91e448558765bb661fae652f2e49f 100644 (file)
@@ -1,3 +1,42 @@
+2016-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
+       cached opcode to NULL when we reach a non-matching opcode.
+       * testsuite/gas/arc/asm-errors-2.d: New file.
+       * testsuite/gas/arc/asm-errors-2.err: New file.
+       * testsuite/gas/arc/asm-errors-2.s: New file.
+
+2016-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-arc.c (tokenize_arguments): Add checks for array
+       overflow.
+       * testsuite/gas/arc/asm-errors.s: Addition test line added.
+       * testsuite/gas/arc/asm-errors.err: Update expected results.
+
+2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-rx.c (struct cpu_type): Change the type of a field from
+       int to enum rx_cpu_types.
+
+2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-dlx.c (struct machine_it): change the type of a field from
+       int to bfd_reloc_code_real_type.
+       * config/tc-tic4x.c: Likewise.
+
+2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-v850.c (v850_target_arch): change type to enum
+       bfd_architecture.
+       * config/tc-v850.h (v850_target_arch): Likewise.
+
+2016-05-18  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
+       allowed negative range.
+       * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
+       * testsuite/gas/ppc/power9.d: Update.
+
 2016-05-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when