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

Originally committed as revision 19886 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 16 years ago
parent ebd3e99de9
commit d25130eb23
  1. 2
      libavcodec/arm/asm.S

@ -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

Loading…
Cancel
Save