X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Faarch64-dis.h;h=7c3cb39ef957bcdeaf1629f2fb2c82fe9b975112;hb=50d036364fb2a71b3ac9a0b0cdbe58296832a1b2;hp=6411c7a98356bb5c19c290dfd3cb48aad92e7edf;hpb=582e12bf7602bb62ecc234402eb54044e83065e2;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/aarch64-dis.h b/opcodes/aarch64-dis.h index 6411c7a983..7c3cb39ef9 100644 --- a/opcodes/aarch64-dis.h +++ b/opcodes/aarch64-dis.h @@ -1,5 +1,5 @@ /* aarch64-dis.h -- Header file for aarch64-dis.c and aarch64-dis-2.c. - Copyright (C) 2012-2017 Free Software Foundation, Inc. + Copyright (C) 2012-2020 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of the GNU opcodes library. @@ -50,15 +50,19 @@ const aarch64_opcode* aarch64_find_next_alias_opcode (const aarch64_opcode *); /* Switch-table-based high-level operand extractor. */ -int aarch64_extract_operand (const aarch64_operand *, aarch64_opnd_info *, - const aarch64_insn, const aarch64_inst *); +bfd_boolean +aarch64_extract_operand (const aarch64_operand *, aarch64_opnd_info *, + const aarch64_insn, const aarch64_inst *, + aarch64_operand_error *); /* Operand extractors. */ #define AARCH64_DECL_OPD_EXTRACTOR(x) \ - int aarch64_##x (const aarch64_operand *, aarch64_opnd_info *, \ - const aarch64_insn, const aarch64_inst *) + bfd_boolean aarch64_##x (const aarch64_operand *, aarch64_opnd_info *, \ + const aarch64_insn, const aarch64_inst *, \ + aarch64_operand_error *) +AARCH64_DECL_OPD_EXTRACTOR (ext_none); AARCH64_DECL_OPD_EXTRACTOR (ext_regno); AARCH64_DECL_OPD_EXTRACTOR (ext_regno_pair); AARCH64_DECL_OPD_EXTRACTOR (ext_regrt_sysins); @@ -79,6 +83,7 @@ AARCH64_DECL_OPD_EXTRACTOR (ext_limm); AARCH64_DECL_OPD_EXTRACTOR (ext_inv_limm); AARCH64_DECL_OPD_EXTRACTOR (ext_ft); AARCH64_DECL_OPD_EXTRACTOR (ext_addr_simple); +AARCH64_DECL_OPD_EXTRACTOR (ext_addr_offset); AARCH64_DECL_OPD_EXTRACTOR (ext_addr_regoff); AARCH64_DECL_OPD_EXTRACTOR (ext_addr_simm); AARCH64_DECL_OPD_EXTRACTOR (ext_addr_simm10);