Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-09-28 07:53:39 +0400
committerAnthony Green <green@moxielogic.com>2012-09-28 07:53:39 +0400
commita54a918ff3ca46cfbffd2987182cb6abe077b36f (patch)
tree1c689d3662e856ca71f3f56bb1200c11e4cdbaea /include
parentcdf81c0c4c64243cf929be0da9086674a4db811e (diff)
Don't abort() when disassembling bad moxie instructions.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/moxie.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index c0b69ad71..4a535eb25 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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.
diff --git a/include/opcode/moxie.h b/include/opcode/moxie.h
index e2bc374f0..dae40c8e8 100644
--- a/include/opcode/moxie.h
+++ b/include/opcode/moxie.h
@@ -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];