Commit d25130eb authored by Måns Rullgård's avatar Måns Rullgård

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

Originally committed as revision 19886 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ebd3e99d
...@@ -44,7 +44,7 @@ ELF .type \name, %function ...@@ -44,7 +44,7 @@ ELF .type \name, %function
.endm .endm
.macro movrel rd, val .macro movrel rd, val
#if HAVE_ARMV6T2 && !CONFIG_SHARED #if HAVE_ARMV6T2 && !CONFIG_SHARED && !CONFIG_PIC
movw \rd, #:lower16:\val movw \rd, #:lower16:\val
movt \rd, #:upper16:\val movt \rd, #:upper16:\val
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment