diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff')
-rw-r--r-- | meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff b/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff deleted file mode 100644 index bbc75d126b..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | diff -Nurd ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c | ||
4 | --- ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-04-14 07:44:30.000000000 +0200 | ||
5 | +++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-12-08 12:53:32.202227000 +0100 | ||
6 | @@ -25,6 +25,9 @@ | ||
7 | #include <sysdep.h> | ||
8 | #include <ldsodefs.h> | ||
9 | |||
10 | +#define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0) | ||
11 | + | ||
12 | + | ||
13 | static const double almost_half = 0.5000000000000001; /* 0.5 + 2^-53 */ | ||
14 | static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 }; | ||
15 | static const ieee_float_shape_type a_inf = {.word = 0x7f800000 }; | ||
16 | diff -Nurd ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c | ||
17 | --- ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-04-14 07:44:30.000000000 +0200 | ||
18 | +++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-12-08 12:53:36.992227000 +0100 | ||
19 | @@ -25,6 +25,8 @@ | ||
20 | #include <sysdep.h> | ||
21 | #include <ldsodefs.h> | ||
22 | |||
23 | +#define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0) | ||
24 | + | ||
25 | static const float almost_half = 0.50000006; /* 0.5 + 2^-24 */ | ||
26 | static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 }; | ||
27 | static const ieee_float_shape_type a_inf = {.word = 0x7f800000 }; | ||