Fix abort in x86 disassembler.
authorNick Clifton <nickc@redhat.com>
Thu, 1 Dec 2016 10:26:32 +0000 (10:26 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 1 Dec 2016 10:26:32 +0000 (10:26 +0000)
PR binutils/20893
* i386-dis.c (OP_VEX): Replace call to abort with a append of bad
opcode designator.

opcodes/ChangeLog
opcodes/i386-dis.c

index 299b750e1050e9e2e654b3c48f4ae65af7ce4312..783ffa209a0c54fefb1b850c36c51e75c14382e5 100644 (file)
@@ -1,3 +1,9 @@
+2016-12-01  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/20893
+       * i386-dis.c (OP_VEX): Replace call to abort with a append of bad
+       opcode designator.
+
 2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>
 
        * arc-opc.c (insert_ra_chk): New function.
index ada44010de56189da01ab2f0048fc8bc1a51c3f4..ad0baf14d6a3874a5d51f773d226d07e4a1312ec 100644 (file)
@@ -16975,7 +16975,8 @@ OP_VEX (int bytemode, int sizeflag ATTRIBUTE_UNUSED)
          names = names_mask;
          break;
        default:
-         abort ();
+         /* See PR binutils/20893 for a reproducer.  */
+         oappend ("(bad)");
          return;
        }
       break;
This page took 0.029404 seconds and 4 git commands to generate.