summaryrefslogtreecommitdiff
path: root/libavcodec/arm/fft_fixed_neon.S
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-06-29 13:35:08 +0100
committerMans Rullgard <mans@mansr.com>2012-07-01 11:25:06 +0100
commit62634158b7cd39ad1e330a87153a97bf3dc6f8de (patch)
tree3b5bb36649f0e08a5675c474b29200c5f0b155b7 /libavcodec/arm/fft_fixed_neon.S
parentceabc13f129cd6344b1eebdbe10119083fe5520e (diff)
ARM: generate position independent code to access data symbols
This creates proper position independent code when accessing data symbols if CONFIG_PIC is set. References to external symbols should now use the movrelx macro. Some additional code changes are required since this macro may need a register to hold the GOT pointer. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/fft_fixed_neon.S')
-rw-r--r--libavcodec/arm/fft_fixed_neon.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/fft_fixed_neon.S b/libavcodec/arm/fft_fixed_neon.S
index 4d891ba1a4..faddc0095a 100644
--- a/libavcodec/arm/fft_fixed_neon.S
+++ b/libavcodec/arm/fft_fixed_neon.S
@@ -214,7 +214,7 @@ function fft\n\()_neon
bl fft\n4\()_neon
mov r0, r4
pop {r4, lr}
- movrel r1, X(ff_cos_\n\()_fixed)
+ movrelx r1, X(ff_cos_\n\()_fixed)
mov r2, #\n4/2
b fft_pass_neon
endfunc