From 00ceac163e5f6706c039a56b17cfb29111f2cc78 Mon Sep 17 00:00:00 2001 From: comex Date: Mon, 9 Feb 2015 00:27:15 -0500 Subject: call vs. branch fixes on ARM (though really I should just ignore calls) --- lib/arm64/dis-main.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/arm64') diff --git a/lib/arm64/dis-main.inc.h b/lib/arm64/dis-main.inc.h index 06d391e..0107715 100644 --- a/lib/arm64/dis-main.inc.h +++ b/lib/arm64/dis-main.inc.h @@ -12,7 +12,7 @@ static INLINE void P(am_b_target_addr_B_1_B)(tdis_ctx ctx, struct bitslice addr) } static INLINE void P(am_bl_target_addr_1_BL)(tdis_ctx ctx, struct bitslice addr) { return P(branch)(ctx, ctx->base.pc + sext(bs_get(addr, ctx->base.op), 26) * 4, - /*cc*/ 0); + /*cc*/ CC_CALL); } static INLINE void P(ccode_cond_am_brcond_target_B_1_Bcc)(tdis_ctx ctx, struct bitslice cond, struct bitslice target) { int bits = bs_get(cond, ctx->base.op); -- cgit v1.2.3