* updated krdc (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / develop / liboil / vfp.patch.arm
blobe89079396b1524883f05624e23be28cf68465f31
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../liboil/vfp.patch.arm
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- liboil-0.3.15/liboil/arm/math_vfp.c.old 2008-03-13 20:17:59.000000000 +0000
18 +++ liboil-0.3.15/liboil/arm/math_vfp.c 2009-03-26 13:53:45.000000000 +0000
19 @@ -30,7 +30,7 @@
20 #include <liboil/liboilclasses.h>
21 #include <liboil/liboilfunction.h>
23 -#if __VFP_FP__
24 +#if defined(__VFP_FP__) && !defined(__SOFTFP__)
26 extern void vfp_add_f32 (float *d, const float *s1, const float *s2, int n);
27 extern void vfp_add_f64 (double *d, const double *s1, const double *s2, int n);
28 --- liboil-0.3.15/liboil/arm/math_vfp_asm.S.old 2007-11-16 02:53:47.000000000 +0000
29 +++ liboil-0.3.15/liboil/arm/math_vfp_asm.S 2009-03-26 13:49:33.000000000 +0000
30 @@ -24,7 +24,7 @@
31 * SUCH DAMAGE.
34 -#if __VFP_FP__
35 +#if defined(__VFP_FP__) && !defined(__SOFTFP__)
36 /*
37 ** compile with -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp