mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-02 03:06:28 +02:00
x86: fft: elf64: fix PIC build
In a 64-bit PIC build, external functions must be called through the PLT. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
d4c45b8adf
commit
37c3864ef7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user