diff options
author | Matthew McClintock <msm@freescale.com> | 2012-08-22 16:47:23 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 16:53:03 +0100 |
commit | e7376bb459d7280a7a593b11fd86f56aa9bc9ce0 (patch) | |
tree | 36a3f2088284c0153eda0397d1976fae3b467c34 /meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch | |
parent | c2bbe5f5d35b6d60ab1f75dc85dddd52cb8760ce (diff) | |
download | poky-e7376bb459d7280a7a593b11fd86f56aa9bc9ce0.tar.gz |
eglibc/gcc: add patches to fix eglibc 2.15 build
This drops one patch against eglibc for 2.15 and adds two new ones,
also it adds a gcc patch. We use all of these internally and they
are tested quite well.
(From OE-Core rev: a7014c446b0d2f3b40c4b058c64bb61c8720d799)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch b/meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch new file mode 100644 index 0000000000..3f69f29ace --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | People are working to include this fixes upstream | ||
4 | |||
5 | --- gcc-4.6.3/gcc/config/rs6000/rs6000-c.c-orig 2012-07-10 12:16:59.708254001 -0500 | ||
6 | +++ gcc-4.6.3/gcc/config/rs6000/rs6000-c.c 2012-07-10 12:18:58.625254001 -0500 | ||
7 | @@ -272,19 +272,19 @@ | ||
8 | builtin_define ("_ARCH_PPCGR"); | ||
9 | if (TARGET_POWERPC64) | ||
10 | builtin_define ("_ARCH_PPC64"); | ||
11 | - if (TARGET_MFCRF) | ||
12 | + if (TARGET_MFCRF && rs6000_cpu != PROCESSOR_PPCE6500) | ||
13 | builtin_define ("_ARCH_PWR4"); | ||
14 | - if (TARGET_POPCNTB) | ||
15 | + if (TARGET_POPCNTB && rs6000_cpu != PROCESSOR_PPCE5500 && rs6000_cpu != PROCESSOR_PPCE6500) | ||
16 | builtin_define ("_ARCH_PWR5"); | ||
17 | if (TARGET_FPRND) | ||
18 | builtin_define ("_ARCH_PWR5X"); | ||
19 | - if (TARGET_CMPB) | ||
20 | + if (TARGET_CMPB && rs6000_cpu != PROCESSOR_PPCE5500 && rs6000_cpu != PROCESSOR_PPCE6500) | ||
21 | builtin_define ("_ARCH_PWR6"); | ||
22 | if (TARGET_MFPGPR) | ||
23 | builtin_define ("_ARCH_PWR6X"); | ||
24 | if (! TARGET_POWER && ! TARGET_POWER2 && ! TARGET_POWERPC) | ||
25 | builtin_define ("_ARCH_COM"); | ||
26 | - if (TARGET_POPCNTD) | ||
27 | + if (TARGET_POPCNTD && rs6000_cpu != PROCESSOR_PPCE5500 && rs6000_cpu != PROCESSOR_PPCE6500) | ||
28 | builtin_define ("_ARCH_PWR7"); | ||
29 | if (TARGET_ALTIVEC) | ||
30 | { | ||