diff options
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch | 64 | ||||
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.16.bb | 2 |
2 files changed, 61 insertions, 5 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch b/meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch index 712b3538e8..511ee9d19e 100644 --- a/meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch +++ b/meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch | |||
| @@ -9,8 +9,8 @@ Upstream-Status: Pending | |||
| 9 | 9 | ||
| 10 | Index: libc/sysdeps/powerpc/fpu/math_private.h | 10 | Index: libc/sysdeps/powerpc/fpu/math_private.h |
| 11 | =================================================================== | 11 | =================================================================== |
| 12 | --- libc.orig/sysdeps/powerpc/fpu/math_private.h 2012-09-03 22:37:58.000000000 -0700 | 12 | --- libc.orig/sysdeps/powerpc/fpu/math_private.h |
| 13 | +++ libc/sysdeps/powerpc/fpu/math_private.h 2012-09-17 09:35:09.709124003 -0700 | 13 | +++ libc/sysdeps/powerpc/fpu/math_private.h |
| 14 | @@ -25,10 +25,12 @@ | 14 | @@ -25,10 +25,12 @@ |
| 15 | #include <dl-procinfo.h> | 15 | #include <dl-procinfo.h> |
| 16 | #include_next <math_private.h> | 16 | #include_next <math_private.h> |
| @@ -30,8 +30,8 @@ Index: libc/sysdeps/powerpc/fpu/math_private.h | |||
| 30 | extern double __slow_ieee754_sqrt (double); | 30 | extern double __slow_ieee754_sqrt (double); |
| 31 | Index: libc/ports/sysdeps/powerpc/powerpc64/e5500/fpu/math_private.h | 31 | Index: libc/ports/sysdeps/powerpc/powerpc64/e5500/fpu/math_private.h |
| 32 | =================================================================== | 32 | =================================================================== |
| 33 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 33 | --- /dev/null |
| 34 | +++ libc/ports/sysdeps/powerpc/powerpc64/e5500/fpu/math_private.h 2012-09-17 09:56:59.129124074 -0700 | 34 | +++ libc/ports/sysdeps/powerpc/powerpc64/e5500/fpu/math_private.h |
| 35 | @@ -0,0 +1,9 @@ | 35 | @@ -0,0 +1,9 @@ |
| 36 | +#ifndef _E5500_MATH_PRIVATE_H_ | 36 | +#ifndef _E5500_MATH_PRIVATE_H_ |
| 37 | +#define _E5500_MATH_PRIVATE_H_ 1 | 37 | +#define _E5500_MATH_PRIVATE_H_ 1 |
| @@ -42,3 +42,59 @@ Index: libc/ports/sysdeps/powerpc/powerpc64/e5500/fpu/math_private.h | |||
| 42 | +#include_next <math_private.h> | 42 | +#include_next <math_private.h> |
| 43 | + | 43 | + |
| 44 | +#endif /* _E5500_MATH_PRIVATE_H_ */ | 44 | +#endif /* _E5500_MATH_PRIVATE_H_ */ |
| 45 | Index: libc/ports/sysdeps/powerpc/powerpc64/e6500/fpu/math_private.h | ||
| 46 | =================================================================== | ||
| 47 | --- /dev/null | ||
| 48 | +++ libc/ports/sysdeps/powerpc/powerpc64/e6500/fpu/math_private.h | ||
| 49 | @@ -0,0 +1,9 @@ | ||
| 50 | +#ifndef _E6500_MATH_PRIVATE_H_ | ||
| 51 | +#define _E6500_MATH_PRIVATE_H_ 1 | ||
| 52 | +/* E6500 core FPU does not implement | ||
| 53 | + fsqrt */ | ||
| 54 | + | ||
| 55 | +#define __CPU_HAS_FSQRT 0 | ||
| 56 | +#include_next <math_private.h> | ||
| 57 | + | ||
| 58 | +#endif /* _E6500_MATH_PRIVATE_H_ */ | ||
| 59 | Index: libc/ports/sysdeps/powerpc/powerpc32/e500mc/fpu/math_private.h | ||
| 60 | =================================================================== | ||
| 61 | --- /dev/null | ||
| 62 | +++ libc/ports/sysdeps/powerpc/powerpc32/e500mc/fpu/math_private.h | ||
| 63 | @@ -0,0 +1,9 @@ | ||
| 64 | +#ifndef _E500MC_MATH_PRIVATE_H_ | ||
| 65 | +#define _E500MC_MATH_PRIVATE_H_ 1 | ||
| 66 | +/* E500MC core FPU does not implement | ||
| 67 | + fsqrt */ | ||
| 68 | + | ||
| 69 | +#define __CPU_HAS_FSQRT 0 | ||
| 70 | +#include_next <math_private.h> | ||
| 71 | + | ||
| 72 | +#endif /* _E500MC_MATH_PRIVATE_H_ */ | ||
| 73 | Index: libc/ports/sysdeps/powerpc/powerpc32/e5500/fpu/math_private.h | ||
| 74 | =================================================================== | ||
| 75 | --- /dev/null | ||
| 76 | +++ libc/ports/sysdeps/powerpc/powerpc32/e5500/fpu/math_private.h | ||
| 77 | @@ -0,0 +1,9 @@ | ||
| 78 | +#ifndef _E5500_MATH_PRIVATE_H_ | ||
| 79 | +#define _E5500_MATH_PRIVATE_H_ 1 | ||
| 80 | +/* E5500 core FPU does not implement | ||
| 81 | + fsqrt */ | ||
| 82 | + | ||
| 83 | +#define __CPU_HAS_FSQRT 0 | ||
| 84 | +#include_next <math_private.h> | ||
| 85 | + | ||
| 86 | +#endif /* _E5500_MATH_PRIVATE_H_ */ | ||
| 87 | Index: libc/ports/sysdeps/powerpc/powerpc32/e6500/fpu/math_private.h | ||
| 88 | =================================================================== | ||
| 89 | --- /dev/null | ||
| 90 | +++ libc/ports/sysdeps/powerpc/powerpc32/e6500/fpu/math_private.h | ||
| 91 | @@ -0,0 +1,9 @@ | ||
| 92 | +#ifndef _E6500_MATH_PRIVATE_H_ | ||
| 93 | +#define _E6500_MATH_PRIVATE_H_ 1 | ||
| 94 | +/* E6500 core FPU does not implement | ||
| 95 | + fsqrt */ | ||
| 96 | + | ||
| 97 | +#define __CPU_HAS_FSQRT 0 | ||
| 98 | +#include_next <math_private.h> | ||
| 99 | + | ||
| 100 | +#endif /* _E6500_MATH_PRIVATE_H_ */ | ||
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb index 278108058b..32b03645e5 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 = "20393" | 3 | SRCREV = "20393" |
| 4 | 4 | ||
| 5 | DEPENDS += "gperf-native kconfig-frontends-native" | 5 | DEPENDS += "gperf-native kconfig-frontends-native" |
| 6 | PR = "r13" | 6 | PR = "r14" |
| 7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
| 8 | 8 | ||
| 9 | EGLIBC_BRANCH="eglibc-2_16" | 9 | EGLIBC_BRANCH="eglibc-2_16" |
