diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-07-17 23:39:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-18 14:29:31 +0100 |
commit | 4f20d6e9ccef33bcf2a7f01da5f465620f23a1e4 (patch) | |
tree | c33aeace08604749b68bb828c321778f3de74ce3 /meta/recipes-core/eglibc/eglibc-2.16 | |
parent | ecd5308c90e384e2bb9d68e0e03a284410ab897e (diff) | |
download | poky-4f20d6e9ccef33bcf2a7f01da5f465620f23a1e4.tar.gz |
eglibc: Fix build for e500 cores
e500 support needed to be updared to match eglibc 2.16
(From OE-Core rev: ae9748c614dc8e56cde3de2401c922607ed97620)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.16')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch b/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch new file mode 100644 index 0000000000..9dbb26e1e4 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Match with the latest math_private restructuring in glibc | ||
2 | |||
3 | as done here | ||
4 | |||
5 | http://sourceware.org/ml/libc-alpha/2012-03/msg00302.html | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h | ||
12 | =================================================================== | ||
13 | --- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h 2012-07-17 22:58:20.340405923 -0700 | ||
14 | +++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h 2012-07-17 22:58:21.120405923 -0700 | ||
15 | @@ -1 +1 @@ | ||
16 | -#include <math/math_private.h> | ||
17 | +#include_next <sysdeps/generic/math_private.h> | ||
18 | Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c | ||
19 | =================================================================== | ||
20 | --- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c 2012-07-17 23:15:15.872405939 -0700 | ||
21 | +++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c 2012-07-17 23:18:42.760405602 -0700 | ||
22 | @@ -23,7 +23,7 @@ | ||
23 | |||
24 | #undef feraiseexcept | ||
25 | |||
26 | -#define __FERAISEEXCEPT_INTERNAL feraiseexcept | ||
27 | +#define __FERAISEEXCEPT_INTERNAL __feraiseexcept | ||
28 | #include "../spe-raise.c" | ||
29 | |||
30 | -libm_hidden_def (feraiseexcept) | ||
31 | +libm_hidden_ver (__feraiseexcept, feraiseexcept) | ||