I happen to see that argument pc is not used inside disas_aarch64_insn
at all. This patch is to remove it.
OK to apply?
opcodes:
2015-10-02 Yao Qi <yao.qi@linaro.org>
* aarch64-dis.c (disas_aarch64_insn): Remove argument PC.
(print_insn_aarch64_word): Caller updated.
+2015-10-02 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-dis.c (disas_aarch64_insn): Remove argument PC.
+ (print_insn_aarch64_word): Caller updated.
+
2015-09-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
* s390-mkopc.c (main): Parse htm and vx flag.
/* Decode INSN and fill in *INST the instruction information. */
static int
-disas_aarch64_insn (uint64_t pc ATTRIBUTE_UNUSED, uint32_t insn,
- aarch64_inst *inst)
+disas_aarch64_insn (uint32_t insn, aarch64_inst *inst)
{
const aarch64_opcode *opcode = aarch64_opcode_lookup (insn);
addresses, since the addend is not currently pc-relative. */
pc = 0;
- ret = disas_aarch64_insn (pc, word, &inst);
+ ret = disas_aarch64_insn (word, &inst);
if (((word >> 21) & 0x3ff) == 1)
{