aboutsummaryrefslogtreecommitdiff
path: root/libs/libmpeg2/patches/102-arm_data_preload_check.patch
diff options
context:
space:
mode:
authorW. Michael Petullo <mike@flyn.org>2014-07-16 22:12:38 -0400
committerSteven Barth <steven@midlink.org>2014-07-19 14:08:11 +0200
commit45150b3585c67a931b6600e7c16092fe69d66306 (patch)
tree4bedbea6bef76417f23c662dbbfb4e7d23083d28 /libs/libmpeg2/patches/102-arm_data_preload_check.patch
parentd81d7ebe5ea866c74c8ee214eea77edbefd9d934 (diff)
Copy libmpeg2 package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffstat (limited to 'libs/libmpeg2/patches/102-arm_data_preload_check.patch')
-rw-r--r--libs/libmpeg2/patches/102-arm_data_preload_check.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/libmpeg2/patches/102-arm_data_preload_check.patch b/libs/libmpeg2/patches/102-arm_data_preload_check.patch
new file mode 100644
index 000000000..86793fcd7
--- /dev/null
+++ b/libs/libmpeg2/patches/102-arm_data_preload_check.patch
@@ -0,0 +1,19 @@
+diff -urN libmpeg2-0.5.1/libmpeg2/motion_comp_arm_s.S libmpeg2-0.5.1.new/libmpeg2/motion_comp_arm_s.S
+--- libmpeg2-0.5.1/libmpeg2/motion_comp_arm_s.S 2008-07-09 21:16:05.000000000 +0200
++++ libmpeg2-0.5.1.new/libmpeg2/motion_comp_arm_s.S 2012-07-30 15:22:58.664964215 +0200
+@@ -19,6 +19,15 @@
+ @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
++@ Data preload is supported only by ARM V5TE and above
++
++#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
++ || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
++ || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \
++ || defined (__ARM_ARCH_5T__))
++.macro pld reg
++.endm
++#endif
+ .text
+
+ @ ----------------------------------------------------------------