414b9c8fcfd86b172a9efadbc8b976e925068aaf
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libmad / 0005-thumb2-imdct-arm.patch
1 Fixes Thumb2 related build failure
2
3 Patch below comes from the Debian libmad package.
4
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6
7 From: Konstantinos Margaritis <markos@debian.org>
8 Subject: use "adr" instead of "add" to make code ready for thumb2
9
10 --- ./imdct_l_arm.S.orig        2010-02-25 13:25:23.000000000 +0100
11 +++ ./imdct_l_arm.S     2010-02-25 13:27:26.000000000 +0100
12 @@ -468,7 +468,7 @@
13  
14      @----
15  
16 -    add     r2, pc, #(imdct36_long_karray-.-8)  @ r2 = base address of Knn array (PIC safe ?)
17 +    adr     r2, imdct36_long_karray
18  
19  
20  loop: