mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ARM: disable movw/movt for relocated values on Apple platforms
Apparently Apple platforms do not handle movw/movt relocations properly, leading to runtime crashes in code using them. Originally committed as revision 25150 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1790d3b330
commit
75c490f467
@ -62,7 +62,7 @@ ELF .type \name, %function
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro movrel rd, val
|
.macro movrel rd, val
|
||||||
#if HAVE_ARMV6T2 && !CONFIG_PIC
|
#if HAVE_ARMV6T2 && !CONFIG_PIC && !defined(__APPLE__)
|
||||||
movw \rd, #:lower16:\val
|
movw \rd, #:lower16:\val
|
||||||
movt \rd, #:upper16:\val
|
movt \rd, #:upper16:\val
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user