Commit 37c3864e authored by Mans Rullgard's avatar Mans Rullgard Committed by Nicolas George

x86: fft: elf64: fix PIC build

In a 64-bit PIC build, external functions must be called
through the PLT.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent d4c45b8a
......@@ -648,7 +648,11 @@ cglobal fft_permute, 2,7,1
add rsp, 8
RET
%elif ARCH_X86_64
%ifdef PIC
jmp memcpy wrt ..plt
%else
jmp memcpy
%endif
%else
push r2
push r5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment