diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2016-05-03 11:48:56 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-05-03 11:48:56 +0100 |
commit | 20f55f3866ab70778d08fec2c09626cff9ed781d (patch) | |
tree | 0741bf79478e29a9a4626de821f4d138f26ae198 /opcodes/aarch64-opc.c | |
parent | b782c63d52a9caf15f1f3ec2e09c9268b48bf065 (diff) | |
download | gdb-20f55f3866ab70778d08fec2c09626cff9ed781d.zip gdb-20f55f3866ab70778d08fec2c09626cff9ed781d.tar.gz gdb-20f55f3866ab70778d08fec2c09626cff9ed781d.tar.bz2 |
Fix generation of AArhc64 instruction table.
* aarch64-gen.c (VERIFIER): Define.
* aarch64-opc.c (VERIFIER): Define.
(verify_ldpsw): Use static linkage.
* aarch64-opc.h (verify_ldpsw): Remove.
* aarch64-tbl.h: Use VERIFIER for verifiers.
Diffstat (limited to 'opcodes/aarch64-opc.c')
-rw-r--r-- | opcodes/aarch64-opc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c index 8fbea46..d9a31e8 100644 --- a/opcodes/aarch64-opc.c +++ b/opcodes/aarch64-opc.c @@ -3420,7 +3420,7 @@ aarch64_sys_ins_reg_supported_p (const aarch64_feature_set features, #define BIT(INSN,BT) (((INSN) >> (BT)) & 1) #define BITS(INSN,HI,LO) (((INSN) >> (LO)) & ((1 << (((HI) - (LO)) + 1)) - 1)) -bfd_boolean +static bfd_boolean verify_ldpsw (const struct aarch64_opcode * opcode ATTRIBUTE_UNUSED, const aarch64_insn insn) { @@ -3447,4 +3447,5 @@ verify_ldpsw (const struct aarch64_opcode * opcode ATTRIBUTE_UNUSED, /* Include the opcode description table as well as the operand description table. */ +#define VERIFIER(x) verify_##x #include "aarch64-tbl.h" |