aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2016-11-11 10:22:56 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2016-11-11 10:22:56 +0000
commit3d731f6949e2b0099cfbe0cf608d60a52a66d354 (patch)
treee96846749a97432da35bdb1712fc377ac329b4fc /opcodes
parent1924ff7567abf9e1341ae135fb5097bc5f7b76f4 (diff)
downloadgdb-3d731f6949e2b0099cfbe0cf608d60a52a66d354.zip
gdb-3d731f6949e2b0099cfbe0cf608d60a52a66d354.tar.gz
gdb-3d731f6949e2b0099cfbe0cf608d60a52a66d354.tar.bz2
[AArch64] Increase max_num_aliases in aarch64-gen
Some ARMv8.3 pointer authentication instructions are encoded as HINT aliases, so to allow more instruction aliases in the generator, max_num_aliases is increased from 16 to 32. opcodes/ 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com> * aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/aarch64-gen.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 53f2a94..23242e0 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.
+
2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/20799
diff --git a/opcodes/aarch64-gen.c b/opcodes/aarch64-gen.c
index a62f6c8..68b6e14 100644
--- a/opcodes/aarch64-gen.c
+++ b/opcodes/aarch64-gen.c
@@ -687,8 +687,8 @@ opcode_node *
find_alias_opcode (const aarch64_opcode *opcode)
{
int i;
- /* Assume maximum of 16 disassemble preference candidates. */
- const int max_num_aliases = 16;
+ /* Assume maximum of 32 disassemble preference candidates. */
+ const int max_num_aliases = 32;
const aarch64_opcode *ent;
const aarch64_opcode *preferred[max_num_aliases + 1];
opcode_node head, **next;