Skip to content

Commit

Permalink
Use proper interprocedural register on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Dec 21, 2020
1 parent cb2d476 commit 926a3ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/trampolines/trampolines_aarch64.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
.cfi_startproc SEP \
.p2align 2 SEP \
CNAME(name)##: SEP \
adrp x0, PAGE(CNAME(name##_addr)) SEP \
ldr x0, [x0, PAGEOFF(CNAME(name##_addr))] SEP \
br x0 SEP \
adrp x16, PAGE(CNAME(name##_addr)) SEP \
ldr x16, [x16, PAGEOFF(CNAME(name##_addr))] SEP \
br x16 SEP \
.cfi_endproc SEP \

JL_EXPORTED_FUNCS(XX)
Expand Down

0 comments on commit 926a3ca

Please sign in to comment.