diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-27 01:37:24 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-07-01 17:51:00 -0400 |
commit | 6c2ede018c51895a3ce7902c86698b90a086e6e0 (patch) | |
tree | 0d19df4fc59e3793cfde0b30a8959d4dbbd9e2d1 /opcodes/aarch64-tbl.h | |
parent | 1b8d1f5f3861c04070bd5d249855b575e431f56b (diff) | |
download | fsf-binutils-gdb-6c2ede018c51895a3ce7902c86698b90a086e6e0.zip fsf-binutils-gdb-6c2ede018c51895a3ce7902c86698b90a086e6e0.tar.gz fsf-binutils-gdb-6c2ede018c51895a3ce7902c86698b90a086e6e0.tar.bz2 |
opcodes: constify aarch64_opcode_tables
This table is huge (~350k), so stop putting it into writable .data
since it's only const data.
Diffstat (limited to 'opcodes/aarch64-tbl.h')
-rw-r--r-- | opcodes/aarch64-tbl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/aarch64-tbl.h b/opcodes/aarch64-tbl.h index 4192e54..17ea851 100644 --- a/opcodes/aarch64-tbl.h +++ b/opcodes/aarch64-tbl.h @@ -2584,7 +2584,7 @@ static const aarch64_feature_set aarch64_feature_flagm = #define FLAGM_INSN(NAME,OPCODE,MASK,CLASS,OPS,QUALS,FLAGS) \ { NAME, OPCODE, MASK, CLASS, 0, FLAGM, OPS, QUALS, FLAGS, 0, 0, NULL } -struct aarch64_opcode aarch64_opcode_table[] = +const struct aarch64_opcode aarch64_opcode_table[] = { /* Add/subtract (with carry). */ CORE_INSN ("adc", 0x1a000000, 0x7fe0fc00, addsub_carry, 0, OP3 (Rd, Rn, Rm), QL_I3SAMER, F_SF), |