From: Nick Clifton Date: Thu, 1 Dec 2016 10:26:32 +0000 (+0000) Subject: Fix abort in x86 disassembler. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a37a2806e3289294ed214aed3c8a45db46026b39;p=binutils-gdb.git Fix abort in x86 disassembler. PR binutils/20893 * i386-dis.c (OP_VEX): Replace call to abort with a append of bad opcode designator. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 299b750e105..783ffa209a0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2016-12-01 Nick Clifton + + PR binutils/20893 + * i386-dis.c (OP_VEX): Replace call to abort with a append of bad + opcode designator. + 2016-11-29 Claudiu Zissulescu * arc-opc.c (insert_ra_chk): New function. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index ada44010de5..ad0baf14d6a 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -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;