summaryrefslogtreecommitdiff
path: root/recipes/mplayer/files/mplayer-lavc-arm.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-11 22:27:21 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-11 22:27:21 +0300
commitd8b110fcf31557cc403f618e81c6db79ef407cb4 (patch)
tree19c2a9a80d28560225eb7e23cfebbf4bcc5fb94f /recipes/mplayer/files/mplayer-lavc-arm.patch
parent1f951c59c5218d9a4a0cf43e082365110af1b94d (diff)
mplayer-svn: fix building for armv4t, arm-oabi, collie
* refresh disable-executable-stack-test.patch * lavc: replace 'bx lr' with 'mov pc, lr' if no thumb interworking is enabled * libmpeg2: disable usage of pld insn if !HAVE_PLD Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/mplayer/files/mplayer-lavc-arm.patch')
-rw-r--r--recipes/mplayer/files/mplayer-lavc-arm.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/mplayer/files/mplayer-lavc-arm.patch b/recipes/mplayer/files/mplayer-lavc-arm.patch
new file mode 100644
index 0000000000..8c2c832ab3
--- /dev/null
+++ b/recipes/mplayer/files/mplayer-lavc-arm.patch
@@ -0,0 +1,17 @@
+Index: trunk/libavcodec/arm/dsputil_arm.S
+===================================================================
+--- trunk.orig/libavcodec/arm/dsputil_arm.S 2009-11-11 22:16:37.216062301 +0300
++++ trunk/libavcodec/arm/dsputil_arm.S 2009-11-11 22:22:00.908058155 +0300
+@@ -29,6 +29,12 @@
+ .endm
+ #endif
+
++#ifndef __THUMB_INTERWORK__
++.macro bx reg
++ mov pc, \reg
++.endm
++#endif
++
+ #if HAVE_ARMV5TE
+ function ff_prefetch_arm, export=1
+ subs r2, r2, #1