summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/gcc-4.0.2/libstdc++-configure.patch10
-rw-r--r--packages/gcc/gcc-4.2.1/.mtn2git_empty (renamed from packages/gcc/gcc-4.2.0/.mtn2git_empty)0
-rw-r--r--packages/gcc/gcc-4.2.1/100-uclibc-conf.patch (renamed from packages/gcc/gcc-4.2.0/100-uclibc-conf.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/110-arm-eabi.patch (renamed from packages/gcc/gcc-4.2.0/110-arm-eabi.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/200-uclibc-locale.patch (renamed from packages/gcc/gcc-4.2.0/200-uclibc-locale.patch)8
-rw-r--r--packages/gcc/gcc-4.2.1/300-libstdc++-pic.patch (renamed from packages/gcc/gcc-4.2.0/300-libstdc++-pic.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/301-missing-execinfo_h.patch (renamed from packages/gcc/gcc-4.2.0/301-missing-execinfo_h.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/302-c99-snprintf.patch (renamed from packages/gcc/gcc-4.2.0/302-c99-snprintf.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/303-c99-complex-ugly-hack.patch (renamed from packages/gcc/gcc-4.2.0/303-c99-complex-ugly-hack.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/304-index_macro.patch (renamed from packages/gcc/gcc-4.2.0/304-index_macro.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/602-sdk-libstdc++-includes.patch (renamed from packages/gcc/gcc-4.2.0/602-sdk-libstdc++-includes.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/740-sh-pr24836.patch (renamed from packages/gcc/gcc-4.2.0/740-sh-pr24836.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/800-arm-bigendian.patch (renamed from packages/gcc/gcc-4.2.0/800-arm-bigendian.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/801-arm-bigendian-eabi.patch (renamed from packages/gcc/gcc-4.2.0/801-arm-bigendian-eabi.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/904-flatten-switch-stmt-00.patch153
-rw-r--r--packages/gcc/gcc-4.2.1/README (renamed from packages/gcc/gcc-4.2.0/README)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-nolibfloat.patch (renamed from packages/gcc/gcc-4.2.0/arm-nolibfloat.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-softfloat.patch (renamed from packages/gcc/gcc-4.2.0/arm-softfloat.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-thumb-cache.patch (renamed from packages/gcc/gcc-4.2.0/arm-thumb-cache.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-thumb.patch (renamed from packages/gcc/gcc-4.2.0/arm-thumb.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/cache-amnesia.patch (renamed from packages/gcc/gcc-4.2.0/cache-amnesia.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff (renamed from packages/gcc/gcc-4.2.0/fix-ICE-in-arm_unwind_emit_set.diff)0
-rw-r--r--packages/gcc/gcc-4.2.1/gcc41-configure.in.patch (renamed from packages/gcc/gcc-4.2.0/gcc41-configure.in.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/ldflags.patch (renamed from packages/gcc/gcc-4.2.0/ldflags.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/sdk-libstdc++-includes.patch (renamed from packages/gcc/gcc-4.2.0/sdk-libstdc++-includes.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/sh3-installfix-fixheaders.patch (renamed from packages/gcc/gcc-4.2.0/sh3-installfix-fixheaders.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/unbreak-armv4t.patch (renamed from packages/gcc/gcc-4.2.0/unbreak-armv4t.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch (renamed from packages/gcc/gcc-4.2.0/zecke-no-host-includes.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch (renamed from packages/gcc/gcc-4.2.0/zecke-xgcc-cpp.patch)0
-rw-r--r--packages/gcc/gcc-cross-sdk_4.2.0.bb40
-rw-r--r--packages/gcc/gcc-cross_4.2.1.bb (renamed from packages/gcc/gcc-cross_4.2.0.bb)0
-rw-r--r--packages/gcc/gcc_4.2.1.bb (renamed from packages/gcc/gcc_4.2.0.bb)1
32 files changed, 168 insertions, 44 deletions
diff --git a/packages/gcc/gcc-4.0.2/libstdc++-configure.patch b/packages/gcc/gcc-4.0.2/libstdc++-configure.patch
new file mode 100644
index 0000000000..8dc613104d
--- /dev/null
+++ b/packages/gcc/gcc-4.0.2/libstdc++-configure.patch
@@ -0,0 +1,10 @@
+--- /tmp/configure 2007-06-02 09:26:29.000000000 +0200
++++ gcc-4.0.2/libstdc++-v3/configure 2007-06-02 09:26:40.135215000 +0200
+@@ -101472,7 +101472,6 @@
+ _ACEOF
+
+ fi
+-done
+
+ fi
+
diff --git a/packages/gcc/gcc-4.2.0/.mtn2git_empty b/packages/gcc/gcc-4.2.1/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/gcc/gcc-4.2.0/.mtn2git_empty
+++ b/packages/gcc/gcc-4.2.1/.mtn2git_empty
diff --git a/packages/gcc/gcc-4.2.0/100-uclibc-conf.patch b/packages/gcc/gcc-4.2.1/100-uclibc-conf.patch
index 4243ff7b91..4243ff7b91 100644
--- a/packages/gcc/gcc-4.2.0/100-uclibc-conf.patch
+++ b/packages/gcc/gcc-4.2.1/100-uclibc-conf.patch
diff --git a/packages/gcc/gcc-4.2.0/110-arm-eabi.patch b/packages/gcc/gcc-4.2.1/110-arm-eabi.patch
index acebe5308f..acebe5308f 100644
--- a/packages/gcc/gcc-4.2.0/110-arm-eabi.patch
+++ b/packages/gcc/gcc-4.2.1/110-arm-eabi.patch
diff --git a/packages/gcc/gcc-4.2.0/200-uclibc-locale.patch b/packages/gcc/gcc-4.2.1/200-uclibc-locale.patch
index c933d1c446..ea21388b75 100644
--- a/packages/gcc/gcc-4.2.0/200-uclibc-locale.patch
+++ b/packages/gcc/gcc-4.2.1/200-uclibc-locale.patch
@@ -1,14 +1,14 @@
--- gcc/libstdc++-v3/acinclude.m4
+++ gcc/libstdc++-v3/acinclude.m4
@@ -1369,7 +1369,7 @@
- AC_MSG_CHECKING([for C locale to use])
+ AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [
GLIBCXX_ENABLE(clocale,auto,[@<:@=MODEL@:>@],
[use MODEL for target locale package],
- [permit generic|gnu|ieee_1003.1-2001|yes|no|auto])
+ [permit generic|gnu|ieee_1003.1-2001|uclibc|yes|no|auto])
-
- # If they didn't use this option switch, or if they specified --enable
- # with no specific model, we'll have to look for one. If they
+
+ # Deal with gettext issues. Default to not using it (=no) until we detect
+ # support for it later. Let the user turn it off via --e/d, but let that
@@ -1385,6 +1385,9 @@
# Default to "generic".
if test $enable_clocale_flag = auto; then
diff --git a/packages/gcc/gcc-4.2.0/300-libstdc++-pic.patch b/packages/gcc/gcc-4.2.1/300-libstdc++-pic.patch
index 89d03a85e5..89d03a85e5 100644
--- a/packages/gcc/gcc-4.2.0/300-libstdc++-pic.patch
+++ b/packages/gcc/gcc-4.2.1/300-libstdc++-pic.patch
diff --git a/packages/gcc/gcc-4.2.0/301-missing-execinfo_h.patch b/packages/gcc/gcc-4.2.1/301-missing-execinfo_h.patch
index 0e2092f3fb..0e2092f3fb 100644
--- a/packages/gcc/gcc-4.2.0/301-missing-execinfo_h.patch
+++ b/packages/gcc/gcc-4.2.1/301-missing-execinfo_h.patch
diff --git a/packages/gcc/gcc-4.2.0/302-c99-snprintf.patch b/packages/gcc/gcc-4.2.1/302-c99-snprintf.patch
index dfb22d681b..dfb22d681b 100644
--- a/packages/gcc/gcc-4.2.0/302-c99-snprintf.patch
+++ b/packages/gcc/gcc-4.2.1/302-c99-snprintf.patch
diff --git a/packages/gcc/gcc-4.2.0/303-c99-complex-ugly-hack.patch b/packages/gcc/gcc-4.2.1/303-c99-complex-ugly-hack.patch
index 2ccc80d9bb..2ccc80d9bb 100644
--- a/packages/gcc/gcc-4.2.0/303-c99-complex-ugly-hack.patch
+++ b/packages/gcc/gcc-4.2.1/303-c99-complex-ugly-hack.patch
diff --git a/packages/gcc/gcc-4.2.0/304-index_macro.patch b/packages/gcc/gcc-4.2.1/304-index_macro.patch
index d8e476555d..d8e476555d 100644
--- a/packages/gcc/gcc-4.2.0/304-index_macro.patch
+++ b/packages/gcc/gcc-4.2.1/304-index_macro.patch
diff --git a/packages/gcc/gcc-4.2.0/602-sdk-libstdc++-includes.patch b/packages/gcc/gcc-4.2.1/602-sdk-libstdc++-includes.patch
index 23fce7544d..23fce7544d 100644
--- a/packages/gcc/gcc-4.2.0/602-sdk-libstdc++-includes.patch
+++ b/packages/gcc/gcc-4.2.1/602-sdk-libstdc++-includes.patch
diff --git a/packages/gcc/gcc-4.2.0/740-sh-pr24836.patch b/packages/gcc/gcc-4.2.1/740-sh-pr24836.patch
index 7992282cff..7992282cff 100644
--- a/packages/gcc/gcc-4.2.0/740-sh-pr24836.patch
+++ b/packages/gcc/gcc-4.2.1/740-sh-pr24836.patch
diff --git a/packages/gcc/gcc-4.2.0/800-arm-bigendian.patch b/packages/gcc/gcc-4.2.1/800-arm-bigendian.patch
index 07c6093379..07c6093379 100644
--- a/packages/gcc/gcc-4.2.0/800-arm-bigendian.patch
+++ b/packages/gcc/gcc-4.2.1/800-arm-bigendian.patch
diff --git a/packages/gcc/gcc-4.2.0/801-arm-bigendian-eabi.patch b/packages/gcc/gcc-4.2.1/801-arm-bigendian-eabi.patch
index 54490fc24f..54490fc24f 100644
--- a/packages/gcc/gcc-4.2.0/801-arm-bigendian-eabi.patch
+++ b/packages/gcc/gcc-4.2.1/801-arm-bigendian-eabi.patch
diff --git a/packages/gcc/gcc-4.2.1/904-flatten-switch-stmt-00.patch b/packages/gcc/gcc-4.2.1/904-flatten-switch-stmt-00.patch
new file mode 100644
index 0000000000..8fac37c4df
--- /dev/null
+++ b/packages/gcc/gcc-4.2.1/904-flatten-switch-stmt-00.patch
@@ -0,0 +1,153 @@
+Hi,
+
+The attached patch makes sure that we create smaller object code for
+simple switch statements. We just make sure to flatten the switch
+statement into an if-else chain, basically.
+
+This fixes a size-regression as compared to gcc-3.4, as can be seen
+below.
+
+2007-04-15 Bernhard Fischer <..>
+
+ * stmt.c (expand_case): Do not create a complex binary tree when
+ optimizing for size but rather use the simple ordered list.
+ (emit_case_nodes): do not emit jumps to the default_label when
+ optimizing for size.
+
+Not regtested so far.
+Comments?
+
+Attached is the test switch.c mentioned below.
+
+$ for i in 2.95 3.3 3.4 4.0 4.1 4.2.orig-HEAD 4.3.orig-HEAD 4.3-HEAD;do
+gcc-$i -DCHAIN -Os -o switch-CHAIN-$i.o -c switch.c ;done
+$ for i in 2.95 3.3 3.4 4.0 4.1 4.2.orig-HEAD 4.3.orig-HEAD 4.3-HEAD;do
+gcc-$i -UCHAIN -Os -o switch-$i.o -c switch.c ;done
+
+$ size switch-*.o
+ text data bss dec hex filename
+ 169 0 0 169 a9 switch-2.95.o
+ 115 0 0 115 73 switch-3.3.o
+ 103 0 0 103 67 switch-3.4.o
+ 124 0 0 124 7c switch-4.0.o
+ 124 0 0 124 7c switch-4.1.o
+ 124 0 0 124 7c switch-4.2.orig-HEAD.o
+ 95 0 0 95 5f switch-4.3-HEAD.o
+ 124 0 0 124 7c switch-4.3.orig-HEAD.o
+ 166 0 0 166 a6 switch-CHAIN-2.95.o
+ 111 0 0 111 6f switch-CHAIN-3.3.o
+ 95 0 0 95 5f switch-CHAIN-3.4.o
+ 95 0 0 95 5f switch-CHAIN-4.0.o
+ 95 0 0 95 5f switch-CHAIN-4.1.o
+ 95 0 0 95 5f switch-CHAIN-4.2.orig-HEAD.o
+ 95 0 0 95 5f switch-CHAIN-4.3-HEAD.o
+ 95 0 0 95 5f switch-CHAIN-4.3.orig-HEAD.o
+
+
+Content-Type: text/x-diff; charset=us-ascii
+Content-Disposition: attachment; filename="gcc-4.3.gcc-flatten-switch-stmt.00.diff"
+
+Index: gcc-4.2.0/gcc/stmt.c
+===================================================================
+--- gcc-4.2.0.orig/gcc/stmt.c (revision 123843)
++++ gcc-4.2.0/gcc/stmt.c (working copy)
+@@ -2517,7 +2517,11 @@ expand_case (tree exp)
+ use_cost_table
+ = (TREE_CODE (orig_type) != ENUMERAL_TYPE
+ && estimate_case_costs (case_list));
+- balance_case_nodes (&case_list, NULL);
++ /* When optimizing for size, we want a straight list to avoid
++ jumps as much as possible. This basically creates an if-else
++ chain. */
++ if (!optimize_size)
++ balance_case_nodes (&case_list, NULL);
+ emit_case_nodes (index, case_list, default_label, index_type);
+ emit_jump (default_label);
+ }
+@@ -3075,6 +3079,7 @@ emit_case_nodes (rtx index, case_node_pt
+ {
+ if (!node_has_low_bound (node, index_type))
+ {
++ if (!optimize_size) /* don't jl to the .default_label. */
+ emit_cmp_and_jump_insns (index,
+ convert_modes
+ (mode, imode,
+
+
+Content-Type: text/x-csrc; charset=us-ascii
+Content-Disposition: attachment; filename="switch.c"
+
+int
+commutative_tree_code (int code)
+{
+#define CASE(val, ret) case val:/* __asm__("# val="#val ",ret="#ret);*/ return ret;
+#ifndef CHAIN
+ switch (code)
+ {
+# if 1
+ CASE(1,3)
+ CASE(3,2)
+ CASE(5,8)
+ CASE(7,1)
+ CASE(33,4)
+ CASE(44,9)
+ CASE(55,10)
+ CASE(66,-1)
+ CASE(77,99)
+ CASE(666,0)
+# else
+ case 1:
+ return 3;
+ case 3:
+ return 2;
+ case 5:
+ return 8;
+ case 7:
+ return 1;
+ case 33:
+ return 4;
+ case 44:
+ return 9;
+ case 55:
+ return 10;
+ case 66:
+ return -1;
+ case 77:
+ return 99;
+ case 666:
+ return 0;
+# endif
+ default:
+ break;
+ }
+ return 4711;
+
+#else
+ if (code == 1)
+ return 3;
+ else if (code == 3)
+ return 2;
+ else if (code == 5)
+ return 8;
+ else if (code == 7)
+ return 1;
+ else if (code == 33)
+ return 4;
+ else if (code == 44)
+ return 9;
+ else if (code == 55)
+ return 10;
+ else if (code == 66)
+ return -1;
+ else if (code == 77)
+ return 99;
+ else if (code == 666)
+ return 0;
+ else
+ return 4711;
+#endif
+}
+
+
+--AhhlLboLdkugWU4S--
+
diff --git a/packages/gcc/gcc-4.2.0/README b/packages/gcc/gcc-4.2.1/README
index b85840dc20..b85840dc20 100644
--- a/packages/gcc/gcc-4.2.0/README
+++ b/packages/gcc/gcc-4.2.1/README
diff --git a/packages/gcc/gcc-4.2.0/arm-nolibfloat.patch b/packages/gcc/gcc-4.2.1/arm-nolibfloat.patch
index c4897c0330..c4897c0330 100644
--- a/packages/gcc/gcc-4.2.0/arm-nolibfloat.patch
+++ b/packages/gcc/gcc-4.2.1/arm-nolibfloat.patch
diff --git a/packages/gcc/gcc-4.2.0/arm-softfloat.patch b/packages/gcc/gcc-4.2.1/arm-softfloat.patch
index c86c83ed15..c86c83ed15 100644
--- a/packages/gcc/gcc-4.2.0/arm-softfloat.patch
+++ b/packages/gcc/gcc-4.2.1/arm-softfloat.patch
diff --git a/packages/gcc/gcc-4.2.0/arm-thumb-cache.patch b/packages/gcc/gcc-4.2.1/arm-thumb-cache.patch
index fa63846c8c..fa63846c8c 100644
--- a/packages/gcc/gcc-4.2.0/arm-thumb-cache.patch
+++ b/packages/gcc/gcc-4.2.1/arm-thumb-cache.patch
diff --git a/packages/gcc/gcc-4.2.0/arm-thumb.patch b/packages/gcc/gcc-4.2.1/arm-thumb.patch
index 69e2f68cf2..69e2f68cf2 100644
--- a/packages/gcc/gcc-4.2.0/arm-thumb.patch
+++ b/packages/gcc/gcc-4.2.1/arm-thumb.patch
diff --git a/packages/gcc/gcc-4.2.0/cache-amnesia.patch b/packages/gcc/gcc-4.2.1/cache-amnesia.patch
index ef7cd111c5..ef7cd111c5 100644
--- a/packages/gcc/gcc-4.2.0/cache-amnesia.patch
+++ b/packages/gcc/gcc-4.2.1/cache-amnesia.patch
diff --git a/packages/gcc/gcc-4.2.0/fix-ICE-in-arm_unwind_emit_set.diff b/packages/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff
index 568e15abff..568e15abff 100644
--- a/packages/gcc/gcc-4.2.0/fix-ICE-in-arm_unwind_emit_set.diff
+++ b/packages/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff
diff --git a/packages/gcc/gcc-4.2.0/gcc41-configure.in.patch b/packages/gcc/gcc-4.2.1/gcc41-configure.in.patch
index 3d33bcb978..3d33bcb978 100644
--- a/packages/gcc/gcc-4.2.0/gcc41-configure.in.patch
+++ b/packages/gcc/gcc-4.2.1/gcc41-configure.in.patch
diff --git a/packages/gcc/gcc-4.2.0/ldflags.patch b/packages/gcc/gcc-4.2.1/ldflags.patch
index 9576f60778..9576f60778 100644
--- a/packages/gcc/gcc-4.2.0/ldflags.patch
+++ b/packages/gcc/gcc-4.2.1/ldflags.patch
diff --git a/packages/gcc/gcc-4.2.0/sdk-libstdc++-includes.patch b/packages/gcc/gcc-4.2.1/sdk-libstdc++-includes.patch
index 4377c2143b..4377c2143b 100644
--- a/packages/gcc/gcc-4.2.0/sdk-libstdc++-includes.patch
+++ b/packages/gcc/gcc-4.2.1/sdk-libstdc++-includes.patch
diff --git a/packages/gcc/gcc-4.2.0/sh3-installfix-fixheaders.patch b/packages/gcc/gcc-4.2.1/sh3-installfix-fixheaders.patch
index a06cd2e075..a06cd2e075 100644
--- a/packages/gcc/gcc-4.2.0/sh3-installfix-fixheaders.patch
+++ b/packages/gcc/gcc-4.2.1/sh3-installfix-fixheaders.patch
diff --git a/packages/gcc/gcc-4.2.0/unbreak-armv4t.patch b/packages/gcc/gcc-4.2.1/unbreak-armv4t.patch
index b3399abfdb..b3399abfdb 100644
--- a/packages/gcc/gcc-4.2.0/unbreak-armv4t.patch
+++ b/packages/gcc/gcc-4.2.1/unbreak-armv4t.patch
diff --git a/packages/gcc/gcc-4.2.0/zecke-no-host-includes.patch b/packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch
index 6afb10d6ef..6afb10d6ef 100644
--- a/packages/gcc/gcc-4.2.0/zecke-no-host-includes.patch
+++ b/packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch
diff --git a/packages/gcc/gcc-4.2.0/zecke-xgcc-cpp.patch b/packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch
index 42ec190600..42ec190600 100644
--- a/packages/gcc/gcc-4.2.0/zecke-xgcc-cpp.patch
+++ b/packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch
diff --git a/packages/gcc/gcc-cross-sdk_4.2.0.bb b/packages/gcc/gcc-cross-sdk_4.2.0.bb
deleted file mode 100644
index 71c2cd08a2..0000000000
--- a/packages/gcc/gcc-cross-sdk_4.2.0.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
-PR = "r0"
-
-inherit sdk
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
-PACKAGES = "${PN}"
-
-require gcc_${PV}.bb
-require gcc4-build-sdk.inc
-require gcc-package-sdk.inc
-
-SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
- file://100-uclibc-conf.patch;patch=1 \
- file://200-uclibc-locale.patch;patch=1 \
- file://300-libstdc++-pic.patch;patch=1 \
- file://301-missing-execinfo_h.patch;patch=1 \
- file://302-c99-snprintf.patch;patch=1 \
- file://303-c99-complex-ugly-hack.patch;patch=1 \
- file://304-index_macro.patch;patch=1 \
- file://602-sdk-libstdc++-includes.patch;patch=1 \
- file://740-sh-pr24836.patch;patch=1 \
- file://800-arm-bigendian.patch;patch=1 \
- file://arm-nolibfloat.patch;patch=1 \
- file://arm-softfloat.patch;patch=1 \
- file://gcc41-configure.in.patch;patch=1 \
- file://arm-thumb.patch;patch=1 \
- file://arm-thumb-cache.patch;patch=1 \
- file://ldflags.patch;patch=1 \
- file://unbreak-armv4t.patch;patch=1 \
- file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
- "
-
-SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
-
diff --git a/packages/gcc/gcc-cross_4.2.0.bb b/packages/gcc/gcc-cross_4.2.1.bb
index 9025a98f3c..9025a98f3c 100644
--- a/packages/gcc/gcc-cross_4.2.0.bb
+++ b/packages/gcc/gcc-cross_4.2.1.bb
diff --git a/packages/gcc/gcc_4.2.0.bb b/packages/gcc/gcc_4.2.1.bb
index b5c4b3c936..79d32d45ce 100644
--- a/packages/gcc/gcc_4.2.0.bb
+++ b/packages/gcc/gcc_4.2.1.bb
@@ -19,6 +19,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
file://602-sdk-libstdc++-includes.patch;patch=1 \
file://740-sh-pr24836.patch;patch=1 \
file://800-arm-bigendian.patch;patch=1 \
+ file://904-flatten-switch-stmt-00.patch;patch=1 \
file://arm-nolibfloat.patch;patch=1 \
file://arm-softfloat.patch;patch=1 \
file://gcc41-configure.in.patch;patch=1 \