gcc: upgrade from 4.5.0 to 4.5.1
authorNitin A Kamble <nitin.a.kamble@intel.com>
Mon, 8 Nov 2010 16:30:41 +0000 (08:30 -0800)
committerSaul Wold <Saul.Wold@intel.com>
Thu, 18 Nov 2010 21:30:25 +0000 (13:30 -0800)
Removed these patches which are not needed anymore.
  gcc-4.5.0_to_svn_162697.patch.bz2 : All the commits in this patch is
          part of the 4.5.1 branch. So moving to 4.5.1 makes this patch
          obsolete
  gcc_revert_base_version_to_4.5.0.patch: moving to 4.5.1 removes need
          of this patch
  gcc-pr43698-arm-rev-instr.patch: upstream has this fix.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
68 files changed:
meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.5.0_to_svn_162697.patch.bz2 [deleted file]
meta/recipes-devtools/gcc/gcc-4.5.0/gcc-pr43698-arm-rev-instr.patch [deleted file]
meta/recipes-devtools/gcc/gcc-4.5.0/gcc_revert_base_version_to_4.5.0.patch [deleted file]
meta/recipes-devtools/gcc/gcc-4.5.1.inc [moved from meta/recipes-devtools/gcc/gcc-4.5.0.inc with 95% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/100-uclibc-conf.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/100-uclibc-conf.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/103-uclibc-conf-noupstream.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/103-uclibc-conf-noupstream.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/200-uclibc-locale.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/200-uclibc-locale.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/203-uclibc-locale-no__x.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/203-uclibc-locale-no__x.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/204-uclibc-locale-wchar_fix.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/204-uclibc-locale-wchar_fix.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/205-uclibc-locale-update.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/205-uclibc-locale-update.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/301-missing-execinfo_h.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/301-missing-execinfo_h.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/302-c99-snprintf.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/302-c99-snprintf.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/303-c99-complex-ugly-hack.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/303-c99-complex-ugly-hack.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/304-index_macro.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/304-index_macro.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/305-libmudflap-susv3-legacy.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/305-libmudflap-susv3-legacy.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/306-libstdc++-namespace.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/306-libstdc++-namespace.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/307-locale_facets.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/307-locale_facets.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/602-sdk-libstdc++-includes.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/602-sdk-libstdc++-includes.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/64bithack.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/64bithack.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/740-sh-pr24836.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/740-sh-pr24836.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/800-arm-bigendian.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/800-arm-bigendian.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/904-flatten-switch-stmt-00.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/904-flatten-switch-stmt-00.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/arm-bswapsi2.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/arm-nolibfloat.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/arm-nolibfloat.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/arm-softfloat.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/arm-softfloat.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/arm-unbreak-eabi-armv4t.dpatch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/arm-unbreak-eabi-armv4t.dpatch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/cache-amnesia.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/cache-amnesia.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/disable_relax_pic_calls_flag.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/disable_relax_pic_calls_flag.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-c++-builtin-redecl.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-c++-builtin-redecl.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-cpp-pragma.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-cpp-pragma.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-i386-libgomp.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-i386-libgomp.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ia64-libunwind.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-ia64-libunwind.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-debug-iface-type.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-java-debug-iface-type.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-java-nomulti.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-java-nomulti.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-libgomp-speedup.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-libgomp-speedup.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-ppc32-retaddr.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-ppc32-retaddr.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr27898.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-pr27898.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr32139.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-pr32139.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-pr33763.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-pr33763.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh251682.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-rh251682.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh330771.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-rh330771.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc43-rh341221.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-rh341221.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/fortran-cross-compile-hack.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/fortran-cross-compile-hack.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-4.0.2-e300c2c3.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.0.2-e300c2c3.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-arm-frename-registers.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-arm-frename-registers.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-flags-for-build.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-flags-for-build.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-ice-hack.dpatch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-ice-hack.dpatch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-dir-extend.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-poison-dir-extend.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-poison-parameters.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-system-directories.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-poison-system-directories.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-uclibc-locale-ctype_touplow_t.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/gcc-uclibc-locale-ctype_touplow_t.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/libstdc++-emit-__cxa_end_cleanup-in-text.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-pic.dpatch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/libstdc++-pic.dpatch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/optional_libstdc.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/pr30961.dpatch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/pr30961.dpatch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/pr35942.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/pr35942.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-4.5.1/zecke-xgcc-cpp.patch [moved from meta/recipes-devtools/gcc/gcc-4.5.0/zecke-xgcc-cpp.patch with 100% similarity]
meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.0.bb with 98% similarity]
meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb with 84% similarity]
meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.0.bb with 85% similarity]
meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-cross_4.5.0.bb with 96% similarity]
meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.0.bb with 86% similarity]
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.0.bb with 87% similarity]
meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-crosssdk_4.5.0.bb with 82% similarity]
meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc-runtime_4.5.0.bb with 95% similarity]
meta/recipes-devtools/gcc/gcc_4.5.1.bb [moved from meta/recipes-devtools/gcc/gcc_4.5.0.bb with 94% similarity]

diff --git a/meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.5.0_to_svn_162697.patch.bz2 b/meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.5.0_to_svn_162697.patch.bz2
deleted file mode 100644 (file)
index d37a2c0..0000000
Binary files a/meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.5.0_to_svn_162697.patch.bz2 and /dev/null differ
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.0/gcc-pr43698-arm-rev-instr.patch b/meta/recipes-devtools/gcc/gcc-4.5.0/gcc-pr43698-arm-rev-instr.patch
deleted file mode 100644 (file)
index 61c883e..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-backport http://gcc.gnu.org/viewcvs?view=revision&revision=162404
-from trunk
-
-Which fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43698
-
-2010-07-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-
-        PR target/43698
-        * config/arm/arm.md: Split arm_rev into *arm_rev
-        and *thumb1_rev. Set *arm_rev to be predicable.
-
-2010-07-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-
-        PR target/43698
-        * gcc.target/arm/pr43698.c: New test.
-
-
-/scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-Usage: date [OPTION]... [+FORMAT]
-Display the current time in the given FORMAT.
-
-  -d, --date=STRING         display time described by STRING, not `now'
-  -f, --file=DATEFILE       like --date once for each line of DATEFILE
-  -R, --rfc-822             output RFC-822 compliant date string
-  -u, --utc, --universal    print or set Coordinated Universal Time
-      --help                display this help and exit
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /bin/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /bin/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /bin/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /scratch/oe/sysroots/i686-linux/usr/share/quilt/compat/date
-date is /bin/date
-date
-Khem
-Index: gcc-4.5/gcc/config/arm/arm.md
-===================================================================
---- gcc-4.5.orig/gcc/config/arm/arm.md 2010-07-20 20:31:25.000000000 -0700
-+++ gcc-4.5/gcc/config/arm/arm.md      2010-07-22 14:55:54.303169081 -0700
-@@ -11197,15 +11197,21 @@
-    (set_attr "length" "4")]
- )
--(define_insn "arm_rev"
-+(define_insn "*arm_rev"
-   [(set (match_operand:SI 0 "s_register_operand" "=r")
-       (bswap:SI (match_operand:SI 1 "s_register_operand" "r")))]
--  "TARGET_EITHER && arm_arch6"
--  "rev\t%0, %1"
--  [(set (attr "length")
--        (if_then_else (eq_attr "is_thumb" "yes")
--                    (const_int 2)
--                    (const_int 4)))]
-+  "TARGET_32BIT && arm_arch6"
-+  "rev%?\t%0, %1"
-+  [(set_attr "predicable" "yes")
-+   (set_attr "length" "4")]
-+)
-+
-+(define_insn "*thumb1_rev"
-+  [(set (match_operand:SI 0 "s_register_operand" "=l")
-+      (bswap:SI (match_operand:SI 1 "s_register_operand" "l")))]
-+  "TARGET_THUMB1 && arm_arch6"
-+   "rev\t%0, %1"
-+  [(set_attr "length" "2")]
- )
- (define_expand "arm_legacy_rev"
-Index: gcc-4.5/gcc/testsuite/gcc.target/arm/pr43698.c
-===================================================================
---- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ gcc-4.5/gcc/testsuite/gcc.target/arm/pr43698.c     2010-07-22 14:56:35.406670213 -0700
-@@ -0,0 +1,39 @@
-+/* { dg-do run } */
-+/* { dg-options "-Os -march=armv7-a" } */
-+#include <stdint.h>
-+#include <stdlib.h>
-+
-+
-+char do_reverse_endian = 0;
-+
-+#  define bswap_32(x) \
-+  ((((x) & 0xff000000) >> 24) | \
-+   (((x) & 0x00ff0000) >>  8) | \
-+   (((x) & 0x0000ff00) <<  8) | \
-+   (((x) & 0x000000ff) << 24))
-+
-+#define EGET(X) \
-+  (__extension__ ({ \
-+      uint64_t __res; \
-+      if (!do_reverse_endian) {    __res = (X); \
-+      } else if (sizeof(X) == 4) { __res = bswap_32((X)); \
-+      } \
-+      __res; \
-+    }))
-+
-+void __attribute__((noinline)) X(char **phdr, char **data, int *phoff)
-+{
-+  *phdr = *data + EGET(*phoff);
-+}
-+
-+int main()
-+{
-+  char *phdr;
-+  char *data = (char *)0x40164000;
-+  int phoff = 0x34;
-+  X(&phdr, &data, &phoff);
-+  if (phdr != (char *)0x40164034)
-+    abort ();
-+  exit (0);
-+}
-+
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.0/gcc_revert_base_version_to_4.5.0.patch b/meta/recipes-devtools/gcc/gcc-4.5.0/gcc_revert_base_version_to_4.5.0.patch
deleted file mode 100644 (file)
index 5f134ef..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-the svn patch changed the BASE-VER to 4.5.1, bring it back to 4.5.0
-- Nitin A Kamble nitin.a.kamble@intel.com
-- 2010/07/20
-
---- gcc-4.5.0/gcc/BASE-VER     2010-07-20 00:57:37.000000000 -0700
-+++ gcc-4.5.0.new/gcc/BASE-VER 2010-07-20 01:06:17.000000000 -0700
-@@ -1 +1 @@
--4.5.1
-+4.5.0
similarity index 95%
rename from meta/recipes-devtools/gcc/gcc-4.5.0.inc
rename to meta/recipes-devtools/gcc/gcc-4.5.1.inc
index 9a0a5e5..bb10fef 100644 (file)
@@ -5,8 +5,6 @@ DEPENDS =+ "mpfr gmp libmpc elfutils"
 NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
-          file://gcc-4.5.0_to_svn_162697.patch.bz2 \
-          file://gcc_revert_base_version_to_4.5.0.patch \
           file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
           file://100-uclibc-conf.patch \
            file://gcc-uclibc-locale-ctype_touplow_t.patch \
@@ -14,7 +12,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
           file://gcc-flags-for-build.patch \
           file://libstdc++-emit-__cxa_end_cleanup-in-text.patch \
           file://arm-bswapsi2.patch \
-          file://gcc-pr43698-arm-rev-instr.patch \
                \
            file://fedora/gcc43-c++-builtin-redecl.patch;striplevel=0 \
            file://fedora/gcc43-ia64-libunwind.patch;striplevel=0 \
@@ -5,7 +5,7 @@ require gcc-cross-canadian.inc
 require gcc-configure-sdk.inc
 require gcc-package-sdk.inc
 
-PR = "r10"
+PR = "r0"
 
 DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
 RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
similarity index 94%
rename from meta/recipes-devtools/gcc/gcc_4.5.0.bb
rename to meta/recipes-devtools/gcc/gcc_4.5.1.bb
index f54c3c6..0e77725 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r11"
+PR = "r0"
 
 require gcc-${PV}.inc
 require gcc-configure-target.inc