[package] libmpeg2: fix build on armv4
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32915 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
682747ee98
commit
a3e8904469
19
libs/libmpeg2/patches/102-arm_data_preload_check.patch
Normal file
19
libs/libmpeg2/patches/102-arm_data_preload_check.patch
Normal file
@ -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
|
||||
|
||||
@ ----------------------------------------------------------------
|
Loading…
x
Reference in New Issue
Block a user