diff --git a/src/ffi_stub_linux64.s b/src/ffi_stub_linux64.s index a63f0e80..6dd32f1e 100644 --- a/src/ffi_stub_linux64.s +++ b/src/ffi_stub_linux64.s @@ -162,15 +162,15 @@ sse_done: ret c_callback_stub_double_x64: - movq $c_callback_double_x64, %r11 + movq c_callback_double_x64@GOTPCREL(%rip), %r11 jmp callback_stub_common c_callback_stub_float_x64: - movq $c_callback_float_x64, %r11 + movq c_callback_float_x64@GOTPCREL(%rip), %r11 jmp callback_stub_common c_callback_stub_intptr_x64: - movq $c_callback_intptr_x64, %r11 + movq c_callback_intptr_x64@GOTPCREL(%rip), %r11 jmp callback_stub_common callback_stub_common: