changeset 12504:036603a63c51 libavcodec

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.
author mru
date Mon, 20 Sep 2010 21:50:46 +0000
parents 3fff0806404a
children b2d560458a72
files arm/asm.S
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/arm/asm.S	Mon Sep 20 11:34:27 2010 +0000
+++ b/arm/asm.S	Mon Sep 20 21:50:46 2010 +0000
@@ -62,7 +62,7 @@
 .endm
 
 .macro  movrel rd, val
-#if HAVE_ARMV6T2 && !CONFIG_PIC
+#if HAVE_ARMV6T2 && !CONFIG_PIC && !defined(__APPLE__)
         movw            \rd, #:lower16:\val
         movt            \rd, #:upper16:\val
 #else