aboutsummaryrefslogtreecommitdiff
path: root/arm64-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm64-gen.c')
-rw-r--r--arm64-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64-gen.c b/arm64-gen.c
index 0ff6099..c7a71e6 100644
--- a/arm64-gen.c
+++ b/arm64-gen.c
@@ -583,7 +583,7 @@ static void arm64_gen_bl_or_b(int b)
{
if ((vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) {
assert(!b && (vtop->r & VT_SYM));
- greloc(cur_text_section, vtop->sym, ind, R_AARCH64_CALL26);
+ greloca(cur_text_section, vtop->sym, ind, R_AARCH64_CALL26, 0);
o(0x94000000); // bl .
}
else