Commit 05953348 authored by Mans Rullgard's avatar Mans Rullgard

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 246154a9
......@@ -647,7 +647,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