diff options
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch | 31 | ||||
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.16.bb | 3 |
2 files changed, 33 insertions, 1 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) | ||
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb index 09f5dbbe05..23a4130185 100644 --- a/meta/recipes-core/eglibc/eglibc_2.16.bb +++ b/meta/recipes-core/eglibc/eglibc_2.16.bb | |||
| @@ -3,7 +3,7 @@ require eglibc.inc | |||
| 3 | SRCREV = "19383" | 3 | SRCREV = "19383" |
| 4 | 4 | ||
| 5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
| 6 | PR = "r0" | 6 | PR = "r1" |
| 7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
| 8 | 8 | ||
| 9 | EGLIBC_BRANCH="eglibc-2_16" | 9 | EGLIBC_BRANCH="eglibc-2_16" |
| @@ -22,6 +22,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h | |||
| 22 | file://eglibc_fix_findidx_parameters.patch \ | 22 | file://eglibc_fix_findidx_parameters.patch \ |
| 23 | file://ppc_slow_ieee754_sqrt.patch \ | 23 | file://ppc_slow_ieee754_sqrt.patch \ |
| 24 | file://rpc-bootstrap.patch \ | 24 | file://rpc-bootstrap.patch \ |
| 25 | file://e500-math_private.patch \ | ||
| 25 | " | 26 | " |
| 26 | LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ | 27 | LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ |
| 27 | file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ | 28 | file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ |
