Don't abort() when disassembling bad moxie instructions.

This commit is contained in:
Anthony Green 2012-09-28 03:53:39 +00:00
parent cdf81c0c4c
commit a54a918ff3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-09-27 Anthony Green <green@moxielogic.com>
* opcode/moxie.h (MOXIE_BAD): New define.
2012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
* elf/aarch64.h (R_AARCH64_GOT_LD_PREL19): New reloc.

View File

@ -60,6 +60,8 @@
#define MOXIE_F3_NARG 0x300
#define MOXIE_F3_PCREL 0x301
#define MOXIE_BAD 0x400
typedef struct moxie_opc_info_t
{
short opcode;
@ -67,6 +69,6 @@ typedef struct moxie_opc_info_t
const char * name;
} moxie_opc_info_t;
extern const moxie_opc_info_t moxie_form1_opc_info[64];
extern const moxie_opc_info_t moxie_form1_opc_info[128];
extern const moxie_opc_info_t moxie_form2_opc_info[4];
extern const moxie_opc_info_t moxie_form3_opc_info[16];