projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1790d3b
)
ARM: disable movw/movt for relocated values on Apple platforms
author
Måns Rullgård
<mans@mansr.com>
Mon, 20 Sep 2010 21:50:46 +0000
(21:50 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 20 Sep 2010 21:50:46 +0000
(21:50 +0000)
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
libavcodec/arm/asm.S
patch
|
blob
|
history
diff --git
a/libavcodec/arm/asm.S
b/libavcodec/arm/asm.S
index
f364a24
..
e050783
100644
(file)
--- a/
libavcodec/arm/asm.S
+++ b/
libavcodec/arm/asm.S
@@
-62,7
+62,7
@@
ELF .type \name, %function
.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