aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/riscv.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 7cda518..81486ad 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,9 @@
2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+ * opcode/riscv.h (RISCV_UNKNOWN_VERSION): added.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
* opcode/riscv.h (riscv_ext_version):
Change the version type from unsigned to int.
diff --git a/include/opcode/riscv.h b/include/opcode/riscv.h
index 94a1380..680780a 100644
--- a/include/opcode/riscv.h
+++ b/include/opcode/riscv.h
@@ -354,6 +354,8 @@ enum riscv_isa_spec_class
ISA_SPEC_CLASS_20191213
};
+#define RISCV_UNKNOWN_VERSION -1
+
/* This structure holds version information for specific ISA. */
struct riscv_ext_version