diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-03-18 02:05:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-16 22:40:53 +0100 |
commit | cb7368c110553dcb972480abc4a59b975677f7df (patch) | |
tree | 2ffd1b35c59f320e2141bc3016ca1777ffa4d412 /meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch | |
parent | 0183d7c4067fdf171a4420477e965dca58f6d7d3 (diff) | |
download | poky-cb7368c110553dcb972480abc4a59b975677f7df.tar.gz |
glibc: Upgrade 2.21 -> 2.22
- git'ify the OE patches
- add_resource_h_to_wait_h.patch - dropped, we do not support that old
perf anymore
- mips-rld-map-check.patch - Dropped because binutils is fixed for it
see https://sourceware.org/ml/binutils/2011-12/msg00112.html
- initgroups_keys.patch - Folded into
0026-eglibc-Forward-port-eglibc-options-groups-support.patch
Change-Id: Ib8e731b212f52b8ff12e2180babbc19970fb1ef1
(From OE-Core rev: 6ea08396dbb628140fd3289fc9fb19df97914326)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch new file mode 100644 index 0000000000..07a112b218 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch | |||
@@ -0,0 +1,61 @@ | |||
1 | From 1be45f870ebbb0259bea5250a6d2c2fbcb33409d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 18 Mar 2015 00:24:46 +0000 | ||
4 | Subject: [PATCH 11/27] __ieee754_sqrt{,f} are now inline functions and call | ||
5 | out __slow versions | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: chunrong guo <B40290@freescale.com> | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | 6 +++--- | ||
13 | sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | 4 ++-- | ||
14 | 2 files changed, 5 insertions(+), 5 deletions(-) | ||
15 | |||
16 | diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | ||
17 | index 1c34244..7038a70 100644 | ||
18 | --- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | ||
19 | +++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | ||
20 | @@ -41,10 +41,10 @@ static const float half = 0.5; | ||
21 | |||
22 | #ifdef __STDC__ | ||
23 | double | ||
24 | -__ieee754_sqrt (double b) | ||
25 | +__slow_ieee754_sqrt (double b) | ||
26 | #else | ||
27 | double | ||
28 | -__ieee754_sqrt (b) | ||
29 | +__slow_ieee754_sqrt (b) | ||
30 | double b; | ||
31 | #endif | ||
32 | { | ||
33 | @@ -83,7 +83,7 @@ __ieee754_sqrt (b) | ||
34 | |||
35 | /* Handle small numbers by scaling. */ | ||
36 | if (__builtin_expect ((u.parts.msw & 0x7ff00000) <= 0x02000000, 0)) | ||
37 | - return __ieee754_sqrt (b * two108) * twom54; | ||
38 | + return __slow_ieee754_sqrt (b * two108) * twom54; | ||
39 | |||
40 | #define FMADD(a_, c_, b_) \ | ||
41 | ({ double __r; \ | ||
42 | diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | ||
43 | index 8126535..10de1f0 100644 | ||
44 | --- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | ||
45 | +++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | ||
46 | @@ -39,10 +39,10 @@ static const float threehalf = 1.5; | ||
47 | |||
48 | #ifdef __STDC__ | ||
49 | float | ||
50 | -__ieee754_sqrtf (float b) | ||
51 | +__slow_ieee754_sqrtf (float b) | ||
52 | #else | ||
53 | float | ||
54 | -__ieee754_sqrtf (b) | ||
55 | +__slow_ieee754_sqrtf (b) | ||
56 | float b; | ||
57 | #endif | ||
58 | { | ||
59 | -- | ||
60 | 2.1.4 | ||
61 | |||