diff --git a/src/dynafunc_aarch64_gnu.S b/src/dynafunc_aarch64_gnu.S index 1b7d56a..3e810e2 100644 --- a/src/dynafunc_aarch64_gnu.S +++ b/src/dynafunc_aarch64_gnu.S @@ -23,9 +23,10 @@ .global g_dynafunc_end g_dynafunc: - ldr x0, .+12 - ldr x9, .+16 + ldr x0, .+16 + ldr x9, .+20 br x9 + ret .dword 0xdeadbeefdeadbeef //function parameter .dword 0xbadc0ffee0ddf00d //function pointer g_dynafunc_end: