Browse Source

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>
tags/n1.0
Mans Rullgard Nicolas George 13 years ago
parent
commit
37c3864ef7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavcodec/x86/fft_mmx.asm

+ 4
- 0
libavcodec/x86/fft_mmx.asm View File

@@ -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…
Cancel
Save