[FFmpeg-cvslog] r19886 - trunk/libavcodec/arm/asm.S

mru subversion
Wed Sep 16 21:20:48 CEST 2009


Author: mru
Date: Wed Sep 16 21:20:48 2009
New Revision: 19886

Log:
ARM: do not use movw/movt for relocatable values with PIC

Modified:
   trunk/libavcodec/arm/asm.S

Modified: trunk/libavcodec/arm/asm.S
==============================================================================
--- trunk/libavcodec/arm/asm.S	Wed Sep 16 20:06:29 2009	(r19885)
+++ trunk/libavcodec/arm/asm.S	Wed Sep 16 21:20:48 2009	(r19886)
@@ -44,7 +44,7 @@ ELF     .type   \name, %function
         .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



More information about the ffmpeg-cvslog mailing list