diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 | 25 |
1 files changed, 25 insertions, 0 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 new file mode 100644 index 0000000000..1046efb2a1 --- /dev/null +++ b/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff | |||
@@ -0,0 +1,25 @@ | |||
1 | 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 | ||
2 | --- ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-04-14 07:44:30.000000000 +0200 | ||
3 | +++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-12-08 12:53:32.202227000 +0100 | ||
4 | @@ -25,6 +25,9 @@ | ||
5 | #include <sysdep.h> | ||
6 | #include <ldsodefs.h> | ||
7 | |||
8 | +#define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0) | ||
9 | + | ||
10 | + | ||
11 | static const double almost_half = 0.5000000000000001; /* 0.5 + 2^-53 */ | ||
12 | static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 }; | ||
13 | static const ieee_float_shape_type a_inf = {.word = 0x7f800000 }; | ||
14 | 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 | ||
15 | --- ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-04-14 07:44:30.000000000 +0200 | ||
16 | +++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-12-08 12:53:36.992227000 +0100 | ||
17 | @@ -25,6 +25,8 @@ | ||
18 | #include <sysdep.h> | ||
19 | #include <ldsodefs.h> | ||
20 | |||
21 | +#define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0) | ||
22 | + | ||
23 | static const float almost_half = 0.50000006; /* 0.5 + 2^-24 */ | ||
24 | static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 }; | ||
25 | static const ieee_float_shape_type a_inf = {.word = 0x7f800000 }; | ||