OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c45b8
)
x86: fft: elf64: fix PIC build
author
Mans Rullgard
<mans@mansr.com>
Mon, 25 Jun 2012 14:25:55 +0000
(15:25 +0100)
committer
Nicolas George
<nicolas.george@normalesup.org>
Tue, 26 Jun 2012 13:57:32 +0000
(15:57 +0200)
In a 64-bit PIC build, external functions must be called
through the PLT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/x86/fft_mmx.asm
patch
|
blob
|
history
diff --git
a/libavcodec/x86/fft_mmx.asm
b/libavcodec/x86/fft_mmx.asm
index
f1b7f2a
..
2ff282d
100644
(file)
--- a/
libavcodec/x86/fft_mmx.asm
+++ b/
libavcodec/x86/fft_mmx.asm
@@
-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