Undo my pushing of Jonas Bonn patch as I missed that it was fixed differently.
file://GCOV_PREFIX_STRIP-cross-profile_3.4.patch;patch=1 \
file://zecke-xgcc-cpp.patch;patch=1 \
file://gcc-posix.patch;patch=1 \
- file://gcc4-mtune-compat.patch;patch=1 \
- file://O_CREAT-perms.patch;patch=1"
+ file://gcc4-mtune-compat.patch;patch=1"
SRC_URI += "file://gcc34-configure.in.patch;patch=1"
SRC_URI += "file://gcc34-thumb-support.patch;patch=1"
+++ /dev/null
---- gcc-3.4.6/gcc/collect2.c.orig 2008-10-20 14:47:56.000000000 +0200
-+++ gcc-3.4.6/gcc/collect2.c 2008-10-20 14:48:49.000000000 +0200
-@@ -1534,7 +1534,7 @@
- if (redir)
- {
- /* Open response file. */
-- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
-+ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0644);
-
- /* Duplicate the stdout and stderr file handles
- so they can be restored later. */