aboutsummaryrefslogtreecommitdiff
path: root/lib/arm64/jump-patch.h
diff options
context:
space:
mode:
authorcomex2015-02-24 20:39:14 -0500
committercomex2015-02-24 20:39:14 -0500
commit24eddaa8240137328a0522eccf741e7868a2ee58 (patch)
treeef7915f83133d966ff8986d3ea41c640832d3d96 /lib/arm64/jump-patch.h
parentAdd transform-dis-cases-arm64.S and fix a serious bug thus discovered. (diff)
downloadsubstitute-24eddaa8240137328a0522eccf741e7868a2ee58.tar.gz
fix arm64/armv7 ish
Diffstat (limited to '')
-rw-r--r--lib/arm64/jump-patch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arm64/jump-patch.h b/lib/arm64/jump-patch.h
index 0a276ba..5a44174 100644
--- a/lib/arm64/jump-patch.h
+++ b/lib/arm64/jump-patch.h
@@ -22,5 +22,5 @@ static inline void make_jump_patch(void **codep, uintptr_t pc, uintptr_t dpc,
MOVi64(codep, reg, dpc);
else
ADRP_ADD(codep, reg, pc, dpc);
- BR(codep, reg);
+ BR(codep, reg, false);
}