diff options
author | comex | 2015-02-01 02:11:20 -0500 |
---|---|---|
committer | comex | 2015-02-01 02:11:20 -0500 |
commit | adb1d468b3cc0ddba3b9b1cd0c9696d36a067058 (patch) | |
tree | 83ef46d5d2d922d00521172f3ba025bb07d66b25 | |
parent | formatting (diff) | |
download | substitute-adb1d468b3cc0ddba3b9b1cd0c9696d36a067058.tar.gz |
whoops, don't mean to always jump to thumb mode
-rw-r--r-- | lib/arm/transform-dis-arm-multi.inc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arm/transform-dis-arm-multi.inc.h b/lib/arm/transform-dis-arm-multi.inc.h index 18fa4c1..1025ae0 100644 --- a/lib/arm/transform-dis-arm-multi.inc.h +++ b/lib/arm/transform-dis-arm-multi.inc.h @@ -168,7 +168,7 @@ static NOINLINE UNUSED void transform_dis_branch(struct transform_dis_ctx *ctx, ctx->write_newop_here = *codep; *codep += 2; } actx.cond = 0xe; - LDR_PC(actx, dpc | 1); + LDR_PC(actx, dpc | ctx->arch.pc_low_bit); } static void transform_dis_pre_dis(struct transform_dis_ctx *ctx) { |