From e7376bb459d7280a7a593b11fd86f56aa9bc9ce0 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Wed, 22 Aug 2012 16:47:23 -0500 Subject: 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 Signed-off-by: Richard Purdie --- .../gcc/gcc-4.6/gcc.no_power_builtins.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch (limited to 'meta/recipes-devtools/gcc/gcc-4.6/gcc.no_power_builtins.patch') 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 @@ +Upstream-Status: Pending + +People are working to include this fixes upstream + +--- gcc-4.6.3/gcc/config/rs6000/rs6000-c.c-orig 2012-07-10 12:16:59.708254001 -0500 ++++ gcc-4.6.3/gcc/config/rs6000/rs6000-c.c 2012-07-10 12:18:58.625254001 -0500 +@@ -272,19 +272,19 @@ + builtin_define ("_ARCH_PPCGR"); + if (TARGET_POWERPC64) + builtin_define ("_ARCH_PPC64"); +- if (TARGET_MFCRF) ++ if (TARGET_MFCRF && rs6000_cpu != PROCESSOR_PPCE6500) + builtin_define ("_ARCH_PWR4"); +- if (TARGET_POPCNTB) ++ if (TARGET_POPCNTB && rs6000_cpu != PROCESSOR_PPCE5500 && rs6000_cpu != PROCESSOR_PPCE6500) + builtin_define ("_ARCH_PWR5"); + if (TARGET_FPRND) + builtin_define ("_ARCH_PWR5X"); +- if (TARGET_CMPB) ++ if (TARGET_CMPB && rs6000_cpu != PROCESSOR_PPCE5500 && rs6000_cpu != PROCESSOR_PPCE6500) + builtin_define ("_ARCH_PWR6"); + if (TARGET_MFPGPR) + builtin_define ("_ARCH_PWR6X"); + if (! TARGET_POWER && ! TARGET_POWER2 && ! TARGET_POWERPC) + builtin_define ("_ARCH_COM"); +- if (TARGET_POPCNTD) ++ if (TARGET_POPCNTD && rs6000_cpu != PROCESSOR_PPCE5500 && rs6000_cpu != PROCESSOR_PPCE6500) + builtin_define ("_ARCH_PWR7"); + if (TARGET_ALTIVEC) + { -- cgit v1.2.3-54-g00ecf