changeset 10182:78c2a3932c87 libavcodec

ARM: do not use movw/movt for relocatable values with PIC
author mru
date Wed, 16 Sep 2009 19:20:48 +0000
parents b33c75c58ffe
children f2d62b685d49
files arm/asm.S
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/arm/asm.S	Wed Sep 16 16:18:18 2009 +0000
+++ b/arm/asm.S	Wed Sep 16 19:20:48 2009 +0000
@@ -44,7 +44,7 @@
         .endm
 
         .macro movrel rd, val
-#if HAVE_ARMV6T2 && !CONFIG_SHARED
+#if HAVE_ARMV6T2 && !CONFIG_SHARED && !CONFIG_PIC
         movw            \rd, #:lower16:\val
         movt            \rd, #:upper16:\val
 #else