Modify AArch64 Assembly and disassembly functions to be able to fail and report why.
[deliverable/binutils-gdb.git] / opcodes / aarch64-asm.h
index 0589c9cfc273899b508ca86a6ba4b112f85f29aa..0524f9182eb295c55aa570c1b786b63ef4820e73 100644 (file)
@@ -30,15 +30,17 @@ const aarch64_opcode* aarch64_find_real_opcode (const aarch64_opcode *);
 
 /* Switch-table-based high-level operand inserter.  */
 
-const char* aarch64_insert_operand (const aarch64_operand *,
+bfd_boolean aarch64_insert_operand (const aarch64_operand *,
                                    const aarch64_opnd_info *, aarch64_insn *,
-                                   const aarch64_inst *);
+                                   const aarch64_inst *,
+                                   aarch64_operand_error *);
 
 /* Operand inserters.  */
 
 #define AARCH64_DECL_OPD_INSERTER(x)   \
-  const char* aarch64_##x (const aarch64_operand *, const aarch64_opnd_info *, \
-                          aarch64_insn *, const aarch64_inst *)
+  bfd_boolean aarch64_##x (const aarch64_operand *, const aarch64_opnd_info *, \
+                          aarch64_insn *, const aarch64_inst *, \
+                          aarch64_operand_error *)
 
 AARCH64_DECL_OPD_INSERTER (ins_regno);
 AARCH64_DECL_OPD_INSERTER (ins_reglane);
This page took 0.02399 seconds and 4 git commands to generate.