git: fix build with with no threads
[buildroot-gz.git] / package / libmad / 0005-thumb2-imdct-arm.patch
blob414b9c8fcfd86b172a9efadbc8b976e925068aaf
1 Fixes Thumb2 related build failure
3 Patch below comes from the Debian libmad package.
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 From: Konstantinos Margaritis <markos@debian.org>
8 Subject: use "adr" instead of "add" to make code ready for thumb2
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 @@
14 @----
16 - add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?)
17 + adr r2, imdct36_long_karray
20 loop: