Commit based upon d6442850bde61f0c3e7e2ae3247b4a856073c5e0
[librecmc/package-feed.git] / libs / libmpeg2 / patches / 102-arm_data_preload_check.patch
1 diff -urN libmpeg2-0.5.1/libmpeg2/motion_comp_arm_s.S libmpeg2-0.5.1.new/libmpeg2/motion_comp_arm_s.S
2 --- libmpeg2-0.5.1/libmpeg2/motion_comp_arm_s.S 2008-07-09 21:16:05.000000000 +0200
3 +++ libmpeg2-0.5.1.new/libmpeg2/motion_comp_arm_s.S     2012-07-30 15:22:58.664964215 +0200
4 @@ -19,6 +19,15 @@
5  @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6  
7  
8 +@ Data preload is supported only by ARM V5TE and above
9 +
10 +#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
11 +     || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
12 +     || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \
13 +     || defined (__ARM_ARCH_5T__))
14 +.macro pld reg
15 +.endm
16 +#endif
17         .text
18  
19  @ ----------------------------------------------------------------