aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/aarch64.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 06bc4c5..d8d6067 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2021-07-01 Mike Frysinger <vapier@gentoo.org>
+
+ * opcode/aarch64.h (aarch64_opcode_table): Mark const.
+
2021-07-01 Richard Earnshaw <rearnsha@arm.com>
PR gas/28031
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index f43df79..2bbd593 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -826,7 +826,7 @@ struct aarch64_opcode
typedef struct aarch64_opcode aarch64_opcode;
/* Table describing all the AArch64 opcodes. */
-extern aarch64_opcode aarch64_opcode_table[];
+extern const aarch64_opcode aarch64_opcode_table[];
/* Opcode flags. */
#define F_ALIAS (1 << 0)