[cross-gcc] Upgrade to gcc-4.9.0-9

David Howells dhowells at fedoraproject.org
Fri Jul 4 16:08:12 UTC 2014


commit d97b728d09c429c9cff88c86540a61d2d4533515
Author: David Howells <dhowells at redhat.com>
Date:   Fri Jul 4 17:06:58 2014 +0100

    Upgrade to gcc-4.9.0-9

 .gitignore                                         |    6 +-
 cross-gcc-bfin.patch                               |   15 +
 cross-gcc-c6x.patch                                |   51 ++
 cross-gcc.spec                                     |   96 ++--
 gcc48-pr28865.patch                                |  190 ------
 gcc48-pr56564.patch                                |  654 --------------------
 gcc48-pr60010.patch                                |   16 -
 gcc48-pr60046.patch                                |   43 --
 gcc48-pr60137.patch                                |   46 --
 gcc48-tmake_in_config.patch                        |   60 --
 gcc48-cloog-dl.patch => gcc49-cloog-dl.patch       |   22 +-
 gcc48-cloog-dl2.patch => gcc49-cloog-dl2.patch     |    0
 gcc48-color-auto.patch => gcc49-color-auto.patch   |    0
 gcc48-hack.patch => gcc49-hack.patch               |    0
 ...-i386-libgomp.patch => gcc49-i386-libgomp.patch |    0
 ...-java-nomulti.patch => gcc49-java-nomulti.patch |    0
 gcc48-libgo-p224.patch => gcc49-libgo-p224.patch   |  407 +++---------
 ...lib.patch => gcc49-libgomp-omp_h-multilib.patch |    0
 ...stdc++-docs.patch => gcc49-libstdc++-docs.patch |    4 +-
 ...-no-rpath.patch => gcc49-libtool-no-rpath.patch |    0
 ...o-add-needed.patch => gcc49-no-add-needed.patch |    0
 ...pc32-retaddr.patch => gcc49-ppc32-retaddr.patch |    6 +-
 gcc48-pr38757.patch => gcc49-pr38757.patch         |    0
 gcc49-pr45078.patch                                |   16 +
 gcc48-pr56493.patch => gcc49-pr56493.patch         |    0
 gcc48-rh330771.patch => gcc49-rh330771.patch       |    0
 ...ion.patch => gcc49-sparc-config-detection.patch |    8 +-
 gcc49-tmake_in_config.patch                        |   13 +
 isl-0.11.1-aarch64-config.patch                    |  392 ------------
 sources                                            |    6 +-
 30 files changed, 262 insertions(+), 1789 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d52fa27..bd93329 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/cloog-0.18.0.tar.gz
-/isl-0.11.1.tar.bz2
-/gcc-4.8.2-20140120.tar.bz2
+/cloog-0.18.1.tar.gz
+/gcc-4.9.0-20140612.tar.bz2
+/isl-0.12.2.tar.bz2
diff --git a/cross-gcc-bfin.patch b/cross-gcc-bfin.patch
new file mode 100644
index 0000000..5272080
--- /dev/null
+++ b/cross-gcc-bfin.patch
@@ -0,0 +1,15 @@
+Index: gcc/config/bfin/bfin.c
+===================================================================
+--- gcc/config/bfin/bfin.c      (revision 211729)
++++ gcc/config/bfin/bfin.c      (working copy)
+@@ -4629,10 +4629,6 @@
+ 
+   df_analyze ();
+ 
+-  /* Doloop optimization */
+-  if (cfun->machine->has_hardware_loops)
+-    bfin_reorg_loops ();
+-
+   workaround_speculation ();
+ 
+   if (flag_var_tracking)
diff --git a/cross-gcc-c6x.patch b/cross-gcc-c6x.patch
new file mode 100644
index 0000000..5533d01
--- /dev/null
+++ b/cross-gcc-c6x.patch
@@ -0,0 +1,51 @@
+Index: gcc/config/c6x/c6x.c
+===================================================================
+RCS file: /cvs/cvsfiles/devo/gcc/config/c6x/c6x.c,v
+retrieving revision 1.16
+diff -u -3 -p -r1.16 c6x.c
+--- gcc/config/c6x/c6x.c        26 Jan 2014 17:41:28 -0000      1.16
++++ gcc/config/c6x/c6x.c        20 Jun 2014 13:07:59 -0000
+@@ -5894,6 +5894,9 @@ static struct hw_doloop_hooks c6x_doloop
+ static void
+ c6x_hwloops (void)
+ {
++  /* start-sanitize-redhat */
++  if (0) /* CFG called too late.  */
++    /* end-sanitize-redhat */
+   if (optimize)
+     reorg_loops (true, &c6x_doloop_hooks);
+ }
+Index: gcc/config/c6x/c6x.md
+===================================================================
+RCS file: /cvs/cvsfiles/devo/gcc/config/c6x/c6x.md,v
+retrieving revision 1.10
+diff -u -3 -p -r1.10 c6x.md
+--- gcc/config/c6x/c6x.md	26 Jan 2014 17:41:28 -0000	1.10
++++ gcc/config/c6x/c6x.md	4 Jul 2014 10:37:34 -0000
+@@ -1432,7 +1432,7 @@
+ 		   (plus:SI (match_dup 0)
+ 			    (const_int -1)))
+ 	      (clobber (match_dup 2))])] ; match_scratch
+-  "TARGET_INSNS_64PLUS && optimize"
++  "TARGET_INSNS_64PLUS && optimize && 0"
+ {
+   /* The loop optimizer doesn't check the predicates... */
+   if (GET_MODE (operands[0]) != SImode)
+@@ -1485,7 +1485,7 @@
+ 	(plus:SI (match_dup 3)
+ 		 (const_int -1)))
+    (clobber (match_scratch:SI 2 "=X,&AB,&AB,&AB"))]
+-  "TARGET_INSNS_64PLUS && optimize"
++  "TARGET_INSNS_64PLUS && optimize && 0"
+   "#"
+   [(set_attr "type" "spkernel")])
+ 
+@@ -1499,7 +1499,7 @@
+ 	(plus:SI (match_dup 3)
+ 		 (const_int -1)))
+    (clobber (match_scratch 2))]
+-  ""
++  "0"
+   [(set (match_dup 2) (plus:SI (match_dup 3) (const_int -1)))
+    (set (match_dup 0) (match_dup 2))
+    (set (pc)
diff --git a/cross-gcc.spec b/cross-gcc.spec
index f2ecc0f..a92e123 100644
--- a/cross-gcc.spec
+++ b/cross-gcc.spec
@@ -63,16 +63,16 @@
 # The gcc versioning information.  In a sed command below, the specfile winds
 # pre-release version numbers in BASE-VER back to the last actually-released
 # number.
-%global DATE 20140120
-%global SVNREV 206854
-%global gcc_version 4.8.2
+%global DATE 20140612
+%global SVNREV 211598
+%global gcc_version 4.9.0
 
 # Note, cross_gcc_release must be integer, if you want to add suffixes
 # to %{release}, append them after %{cross_gcc_release} on Release:
 # line.  gcc_release is the Fedora gcc release that the patches were
 # taken from.
-%global gcc_release 15
-%global cross_gcc_release 2
+%global gcc_release 9
+%global cross_gcc_release 1
 %global cross_binutils_version 2.24-2
 
 Summary: Cross C compiler
@@ -91,32 +91,28 @@ URL: http://gcc.gnu.org
 # tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2
 %define srcdir gcc-%{version}-%{DATE}
 Source0: %{srcdir}.tar.bz2
-%global isl_version 0.11.1
+%global isl_version 0.12.2
 Source1: ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
-%global cloog_version 0.18.0
+%global cloog_version 0.18.1
 Source2: ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-%{cloog_version}.tar.gz
 
-Patch0: gcc48-hack.patch
-Patch1: gcc48-java-nomulti.patch
-Patch2: gcc48-ppc32-retaddr.patch
-Patch3: gcc48-rh330771.patch
-Patch4: gcc48-i386-libgomp.patch
-Patch5: gcc48-sparc-config-detection.patch
-Patch6: gcc48-libgomp-omp_h-multilib.patch
-Patch7: gcc48-libtool-no-rpath.patch
-Patch8: gcc48-cloog-dl.patch
-Patch9: gcc48-cloog-dl2.patch
-Patch10: gcc48-pr38757.patch
-Patch11: gcc48-libstdc++-docs.patch
-Patch12: gcc48-no-add-needed.patch
-Patch13: gcc48-pr56564.patch
-Patch14: gcc48-pr56493.patch
-Patch15: gcc48-color-auto.patch
-Patch16: gcc48-pr28865.patch
-Patch17: gcc48-libgo-p224.patch
-Patch18: gcc48-pr60137.patch
-Patch19: gcc48-pr60010.patch
-Patch20: gcc48-pr60046.patch
+Patch0: gcc49-hack.patch
+Patch1: gcc49-java-nomulti.patch
+Patch2: gcc49-ppc32-retaddr.patch
+Patch3: gcc49-rh330771.patch
+Patch4: gcc49-i386-libgomp.patch
+Patch5: gcc49-sparc-config-detection.patch
+Patch6: gcc49-libgomp-omp_h-multilib.patch
+Patch7: gcc49-libtool-no-rpath.patch
+Patch8: gcc49-cloog-dl.patch
+Patch9: gcc49-cloog-dl2.patch
+Patch10: gcc49-pr38757.patch
+Patch11: gcc49-libstdc++-docs.patch
+Patch12: gcc49-no-add-needed.patch
+Patch14: gcc49-pr56493.patch
+Patch15: gcc49-color-auto.patch
+Patch16: gcc49-libgo-p224.patch
+Patch17: gcc49-pr45078.patch
 
 Patch100: cross-intl-filename.patch
 # ia64 - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44553
@@ -124,9 +120,9 @@ Patch100: cross-intl-filename.patch
 # alpha - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55344
 Patch101: cross-gcc-with-libgcc.patch
 Patch102: cross-gcc-sh-libgcc.patch
-Patch103: gcc48-tmake_in_config.patch
-
-Patch1100: isl-%{isl_version}-aarch64-config.patch
+Patch103: gcc49-tmake_in_config.patch
+Patch104: cross-gcc-bfin.patch
+Patch105: cross-gcc-c6x.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: binutils >= 2.20.51.0.2-12
@@ -137,10 +133,6 @@ BuildRequires: %{cross}-binutils-common >= %{cross_binutils_version}
 # Make sure glibc supports stack protector
 # Make sure glibc supports DT_GNU_HASH
 BuildRequires: glibc-devel >= 2.4.90-13
-%ifarch %{multilib_64_archs} sparcv9 ppc
-# Ensure glibc{,-devel} is installed for both multilib arches
-BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
-%endif
 BuildRequires: elfutils-devel >= 0.147
 BuildRequires: elfutils-libelf-devel >= 0.147
 BuildRequires: gmp-devel >= 4.2, mpfr-devel >= 2.3.1, libmpc-devel >= 0.8.1
@@ -276,33 +268,27 @@ cd %{srcdir}
 %patch9 -p0 -b .cloog-dl2~
 %endif
 %patch10 -p0 -b .pr38757~
-
-
-
+# % if %{build_libstdcxx_docs}
+# % patch11 -p0 -b .libstdc++-docs~
+# % endif
 %patch12 -p0 -b .no-add-needed~
-%patch13 -p0 -b .pr56564~
 %patch14 -p0 -b .pr56493~
 %if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
 %patch15 -p0 -b .color-auto~
 %endif
-%patch16 -p0 -b .pr28865~
-%patch17 -p0 -b .libgo-p224~
+%patch16 -p0 -b .libgo-p224~
 rm -f libgo/go/crypto/elliptic/p224{,_test}.go
-%patch18 -p0 -b .pr60137~
-%patch19 -p0 -b .pr60010~
-%patch20 -p0 -b .pr60046~
+%patch17 -p0 -b .pr45078~
 
 %patch100 -p0 -b .cross-intl~
 %patch101 -p1 -b .with-libgcc~
 %patch102 -p0 -b .sh-libgcc~
 %patch103 -p0 -b .tmake~
+%patch104 -p0 -b .bfin~
+%patch105 -p0 -b .c6x~
 
-cd ..
-%patch1100 -p0 -b .isl-aarch64~
-cd -
-
-# Move the version number back to 4.8.2
-sed -i -e 's/4\.8\.3/4.8.2/' gcc/BASE-VER
+# Move the version number back
+sed -i -e 's/4\.9\.1/4.9.0/' gcc/BASE-VER
 echo 'Red Hat %{version}-%{cross_gcc_release}' > gcc/DEV-PHASE
 
 %if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
@@ -434,7 +420,7 @@ cat >> %{cloog_source}/source/isl/constraints.c << \EOF
 static void __attribute__((used)) *s1 = (void *) isl_union_map_compute_flow;
 static void __attribute__((used)) *s2 = (void *) isl_map_dump;
 EOF
-sed -i 's|libcloog|libgcc48privatecloog|g' \
+sed -i 's|libcloog|libgcc49privatecloog|g' \
     %{cloog_source}/{,test/}Makefile.{am,in}
 
 %{cloog_source}/configure \
@@ -450,8 +436,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 make %{?_smp_mflags} install
 cd %{cloog_install}/lib
-rm libgcc48privatecloog-isl.so{,.4}
-mv libgcc48privatecloog-isl.so.4.0.0 libcloog-isl.so.4
+rm libgcc49privatecloog-isl.so{,.4}
+mv libgcc49privatecloog-isl.so.4.0.0 libcloog-isl.so.4
 ln -sf libcloog-isl.so.4 libcloog-isl.so
 ln -sf libcloog-isl.so.4 libcloog.so
 
@@ -874,8 +860,8 @@ rm -rf %{buildroot}
 %do_files xtensa-linux-gnu	%{build_xtensa}
 
 %changelog
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.8.2-2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+* Mon Jun 16 2014 David Howells <dhowells at redhat.com> - 4.9.0-1
+- Move to gcc-4.9.0.
 
 * Fri Mar 28 2014 David Howells <dhowells at redhat.com> - 4.8.2-2
 - A sysroot of / is bad, so make it /usr/<program-prefix>/sys-root/.
diff --git a/gcc48-cloog-dl.patch b/gcc49-cloog-dl.patch
similarity index 97%
rename from gcc48-cloog-dl.patch
rename to gcc49-cloog-dl.patch
index 52b5c51..8a72509 100644
--- a/gcc48-cloog-dl.patch
+++ b/gcc49-cloog-dl.patch
@@ -1,6 +1,6 @@
 --- gcc/Makefile.in.jj	2012-12-13 17:09:20.000000000 +0100
 +++ gcc/Makefile.in	2012-12-14 11:45:22.585670055 +0100
-@@ -1022,7 +1022,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
+@@ -1006,7 +1006,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
  # and the system's installed libraries.
  LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBBACKTRACE) \
  	$(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS)
@@ -9,10 +9,10 @@
  	$(ZLIB)
  # Any system libraries needed just for GNAT.
  SYSLIBS = @GNAT_LIBEXC@
-@@ -3442,6 +3442,15 @@ $(common_out_object_file): $(common_out_
-     $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(OPTS_H) $(TM_H) $(TM_P_H) $(MACHMODE_H)
- 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
- 	  $< $(OUTPUT_OPTION)
+@@ -2011,6 +2011,15 @@ $(out_object_file): $(out_file)
+ $(common_out_object_file): $(common_out_file)
+ 	$(COMPILE) $<
+ 	$(POSTCOMPILE)
 +
 +graphite%.o : \
 +  ALL_CFLAGS := -O $(filter-out -fkeep-inline-functions, $(ALL_CFLAGS))
@@ -27,7 +27,7 @@
  # and compile them.
 --- gcc/graphite-poly.h.jj	2012-12-13 11:31:27.000000000 +0100
 +++ gcc/graphite-poly.h	2012-12-14 13:41:41.970800726 +0100
-@@ -22,6 +22,369 @@ along with GCC; see the file COPYING3.
+@@ -22,6 +22,371 @@ along with GCC; see the file COPYING3.
  #ifndef GCC_GRAPHITE_POLY_H
  #define GCC_GRAPHITE_POLY_H
  
@@ -163,6 +163,7 @@
 +  DYNSYM (isl_set_is_empty); \
 +  DYNSYM (isl_set_max); \
 +  DYNSYM (isl_set_min); \
++  DYNSYM (isl_set_n_dim); \
 +  DYNSYM (isl_set_nat_universe); \
 +  DYNSYM (isl_set_project_out); \
 +  DYNSYM (isl_set_set_tuple_id); \
@@ -345,6 +346,7 @@
 +#define isl_set_is_empty (*cloog_pointers__.p_isl_set_is_empty)
 +#define isl_set_max (*cloog_pointers__.p_isl_set_max)
 +#define isl_set_min (*cloog_pointers__.p_isl_set_min)
++#define isl_set_n_dim (*cloog_pointers__.p_isl_set_n_dim)
 +#define isl_set_nat_universe (*cloog_pointers__.p_isl_set_nat_universe)
 +#define isl_set_project_out (*cloog_pointers__.p_isl_set_project_out)
 +#define isl_set_set_tuple_id (*cloog_pointers__.p_isl_set_set_tuple_id)
@@ -399,7 +401,7 @@
  typedef struct poly_bb *poly_bb_p;
 --- gcc/graphite.c.jj	2012-12-13 11:31:00.000000000 +0100
 +++ gcc/graphite.c	2012-12-14 13:40:44.155136961 +0100
-@@ -66,6 +66,34 @@ along with GCC; see the file COPYING3.
+@@ -78,6 +78,34 @@ along with GCC; see the file COPYING3.
  
  CloogState *cloog_state;
  
@@ -434,11 +436,11 @@
  /* Print global statistics to FILE.  */
  
  static void
-@@ -264,6 +292,15 @@ graphite_transform_loops (void)
+@@ -277,6 +305,15 @@ graphite_transform_loops (void)
    if (parallelized_function_p (cfun->decl))
      return;
  
-+  if (number_of_loops () <= 1)
++  if (number_of_loops (cfun) <= 1)
 +    return;
 +
 +  if (!init_cloog_pointers ())
@@ -448,7 +450,7 @@
 +    }
 +
    ctx = isl_ctx_alloc ();
-   isl_options_set_on_error(ctx, ISL_ON_ERROR_ABORT);
+   isl_options_set_on_error (ctx, ISL_ON_ERROR_ABORT);
    if (!graphite_initialize (ctx))
 --- gcc/graphite-clast-to-gimple.c.jj	2012-12-13 11:31:27.000000000 +0100
 +++ gcc/graphite-clast-to-gimple.c	2012-12-14 13:27:47.196519858 +0100
diff --git a/gcc48-cloog-dl2.patch b/gcc49-cloog-dl2.patch
similarity index 100%
rename from gcc48-cloog-dl2.patch
rename to gcc49-cloog-dl2.patch
diff --git a/gcc48-color-auto.patch b/gcc49-color-auto.patch
similarity index 100%
rename from gcc48-color-auto.patch
rename to gcc49-color-auto.patch
diff --git a/gcc48-hack.patch b/gcc49-hack.patch
similarity index 100%
rename from gcc48-hack.patch
rename to gcc49-hack.patch
diff --git a/gcc48-i386-libgomp.patch b/gcc49-i386-libgomp.patch
similarity index 100%
rename from gcc48-i386-libgomp.patch
rename to gcc49-i386-libgomp.patch
diff --git a/gcc48-java-nomulti.patch b/gcc49-java-nomulti.patch
similarity index 100%
rename from gcc48-java-nomulti.patch
rename to gcc49-java-nomulti.patch
diff --git a/gcc48-libgo-p224.patch b/gcc49-libgo-p224.patch
similarity index 70%
rename from gcc48-libgo-p224.patch
rename to gcc49-libgo-p224.patch
index 50461bc..89e06e1 100644
--- a/gcc48-libgo-p224.patch
+++ b/gcc49-libgo-p224.patch
@@ -1,30 +1,26 @@
---- libgo/Makefile.am.jj	2013-12-12 19:01:49.000000000 +0100
-+++ libgo/Makefile.am	2014-02-18 17:31:54.798484657 +0100
-@@ -1109,8 +1109,7 @@ go_crypto_dsa_files = \
- go_crypto_ecdsa_files = \
+--- libgo/Makefile.am.jj	2014-01-08 13:53:06.000000000 +0100
++++ libgo/Makefile.am	2014-03-05 15:20:09.938466093 +0100
+@@ -1133,7 +1133,6 @@ go_crypto_ecdsa_files = \
  	go/crypto/ecdsa/ecdsa.go
  go_crypto_elliptic_files = \
--	go/crypto/elliptic/elliptic.go \
--	go/crypto/elliptic/p224.go
-+	go/crypto/elliptic/elliptic.go
+ 	go/crypto/elliptic/elliptic.go \
+-	go/crypto/elliptic/p224.go \
+ 	go/crypto/elliptic/p256.go
  go_crypto_hmac_files = \
  	go/crypto/hmac/hmac.go
- go_crypto_md5_files = \
---- libgo/Makefile.in.jj	2013-12-12 19:01:49.000000000 +0100
-+++ libgo/Makefile.in	2014-02-18 17:32:11.350389191 +0100
-@@ -1274,8 +1274,7 @@ go_crypto_ecdsa_files = \
- 	go/crypto/ecdsa/ecdsa.go
+--- libgo/Makefile.in.jj	2014-01-08 13:53:06.000000000 +0100
++++ libgo/Makefile.in	2014-03-05 15:20:20.372465471 +0100
+@@ -1291,7 +1291,6 @@ go_crypto_ecdsa_files = \
  
  go_crypto_elliptic_files = \
--	go/crypto/elliptic/elliptic.go \
--	go/crypto/elliptic/p224.go
-+	go/crypto/elliptic/elliptic.go
+ 	go/crypto/elliptic/elliptic.go \
+-	go/crypto/elliptic/p224.go \
+ 	go/crypto/elliptic/p256.go
  
  go_crypto_hmac_files = \
- 	go/crypto/hmac/hmac.go
---- libgo/go/crypto/elliptic/elliptic.go.jj	2012-12-13 11:32:02.640039537 +0100
-+++ libgo/go/crypto/elliptic/elliptic.go	2014-02-18 17:28:22.909692022 +0100
-@@ -327,7 +327,6 @@ var p384 *CurveParams
+--- libgo/go/crypto/elliptic/elliptic.go.jj	2013-11-07 11:59:09.000000000 +0100
++++ libgo/go/crypto/elliptic/elliptic.go	2014-03-05 15:21:04.186462859 +0100
+@@ -326,7 +326,6 @@ var p384 *CurveParams
  var p521 *CurveParams
  
  func initAll() {
@@ -32,16 +28,16 @@
  	initP256()
  	initP384()
  	initP521()
---- libgo/go/crypto/elliptic/elliptic_test.go.jj	2012-12-13 11:32:02.640039537 +0100
-+++ libgo/go/crypto/elliptic/elliptic_test.go	2014-02-18 17:31:04.052774265 +0100
-@@ -5,329 +5,14 @@
+--- libgo/go/crypto/elliptic/elliptic_test.go.jj	2013-11-07 11:59:09.000000000 +0100
++++ libgo/go/crypto/elliptic/elliptic_test.go	2014-03-05 15:46:03.739373453 +0100
+@@ -5,26 +5,16 @@
  package elliptic
  
  import (
 -	"crypto/rand"
 -	"encoding/hex"
 -	"fmt"
--	"math/big"
+ 	"math/big"
  	"testing"
  )
  
@@ -52,274 +48,20 @@
 -	}
 -}
 -
--type baseMultTest struct {
--	k    string
--	x, y string
--}
--
+ type baseMultTest struct {
+ 	k    string
+ 	x, y string
+ }
+ 
 -var p224BaseMultTests = []baseMultTest{
--	{
--		"1",
--		"b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
--		"bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34",
--	},
--	{
--		"2",
--		"706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6",
--		"1c2b76a7bc25e7702a704fa986892849fca629487acf3709d2e4e8bb",
--	},
--	{
--		"3",
--		"df1b1d66a551d0d31eff822558b9d2cc75c2180279fe0d08fd896d04",
--		"a3f7f03cadd0be444c0aa56830130ddf77d317344e1af3591981a925",
--	},
--	{
--		"4",
--		"ae99feebb5d26945b54892092a8aee02912930fa41cd114e40447301",
--		"482580a0ec5bc47e88bc8c378632cd196cb3fa058a7114eb03054c9",
--	},
--	{
--		"5",
--		"31c49ae75bce7807cdff22055d94ee9021fedbb5ab51c57526f011aa",
--		"27e8bff1745635ec5ba0c9f1c2ede15414c6507d29ffe37e790a079b",
--	},
--	{
--		"6",
--		"1f2483f82572251fca975fea40db821df8ad82a3c002ee6c57112408",
--		"89faf0ccb750d99b553c574fad7ecfb0438586eb3952af5b4b153c7e",
--	},
--	{
--		"7",
--		"db2f6be630e246a5cf7d99b85194b123d487e2d466b94b24a03c3e28",
--		"f3a30085497f2f611ee2517b163ef8c53b715d18bb4e4808d02b963",
--	},
--	{
--		"8",
--		"858e6f9cc6c12c31f5df124aa77767b05c8bc021bd683d2b55571550",
--		"46dcd3ea5c43898c5c5fc4fdac7db39c2f02ebee4e3541d1e78047a",
--	},
--	{
--		"9",
--		"2fdcccfee720a77ef6cb3bfbb447f9383117e3daa4a07e36ed15f78d",
--		"371732e4f41bf4f7883035e6a79fcedc0e196eb07b48171697517463",
--	},
--	{
--		"10",
--		"aea9e17a306517eb89152aa7096d2c381ec813c51aa880e7bee2c0fd",
--		"39bb30eab337e0a521b6cba1abe4b2b3a3e524c14a3fe3eb116b655f",
--	},
--	{
--		"11",
--		"ef53b6294aca431f0f3c22dc82eb9050324f1d88d377e716448e507c",
--		"20b510004092e96636cfb7e32efded8265c266dfb754fa6d6491a6da",
--	},
--	{
--		"12",
--		"6e31ee1dc137f81b056752e4deab1443a481033e9b4c93a3044f4f7a",
--		"207dddf0385bfdeab6e9acda8da06b3bbef224a93ab1e9e036109d13",
--	},
--	{
--		"13",
--		"34e8e17a430e43289793c383fac9774247b40e9ebd3366981fcfaeca",
--		"252819f71c7fb7fbcb159be337d37d3336d7feb963724fdfb0ecb767",
--	},
--	{
--		"14",
--		"a53640c83dc208603ded83e4ecf758f24c357d7cf48088b2ce01e9fa",
--		"d5814cd724199c4a5b974a43685fbf5b8bac69459c9469bc8f23ccaf",
--	},
--	{
--		"15",
--		"baa4d8635511a7d288aebeedd12ce529ff102c91f97f867e21916bf9",
--		"979a5f4759f80f4fb4ec2e34f5566d595680a11735e7b61046127989",
--	},
--	{
--		"16",
--		"b6ec4fe1777382404ef679997ba8d1cc5cd8e85349259f590c4c66d",
--		"3399d464345906b11b00e363ef429221f2ec720d2f665d7dead5b482",
--	},
--	{
--		"17",
--		"b8357c3a6ceef288310e17b8bfeff9200846ca8c1942497c484403bc",
--		"ff149efa6606a6bd20ef7d1b06bd92f6904639dce5174db6cc554a26",
--	},
--	{
--		"18",
--		"c9ff61b040874c0568479216824a15eab1a838a797d189746226e4cc",
--		"ea98d60e5ffc9b8fcf999fab1df7e7ef7084f20ddb61bb045a6ce002",
--	},
--	{
--		"19",
--		"a1e81c04f30ce201c7c9ace785ed44cc33b455a022f2acdbc6cae83c",
--		"dcf1f6c3db09c70acc25391d492fe25b4a180babd6cea356c04719cd",
--	},
--	{
--		"20",
--		"fcc7f2b45df1cd5a3c0c0731ca47a8af75cfb0347e8354eefe782455",
--		"d5d7110274cba7cdee90e1a8b0d394c376a5573db6be0bf2747f530",
--	},
--	{
--		"112233445566778899",
--		"61f077c6f62ed802dad7c2f38f5c67f2cc453601e61bd076bb46179e",
--		"2272f9e9f5933e70388ee652513443b5e289dd135dcc0d0299b225e4",
--	},
--	{
--		"112233445566778899112233445566778899",
--		"29895f0af496bfc62b6ef8d8a65c88c613949b03668aab4f0429e35",
--		"3ea6e53f9a841f2019ec24bde1a75677aa9b5902e61081c01064de93",
--	},
--	{
--		"6950511619965839450988900688150712778015737983940691968051900319680",
--		"ab689930bcae4a4aa5f5cb085e823e8ae30fd365eb1da4aba9cf0379",
--		"3345a121bbd233548af0d210654eb40bab788a03666419be6fbd34e7",
--	},
--	{
--		"13479972933410060327035789020509431695094902435494295338570602119423",
--		"bdb6a8817c1f89da1c2f3dd8e97feb4494f2ed302a4ce2bc7f5f4025",
--		"4c7020d57c00411889462d77a5438bb4e97d177700bf7243a07f1680",
--	},
--	{
--		"13479971751745682581351455311314208093898607229429740618390390702079",
--		"d58b61aa41c32dd5eba462647dba75c5d67c83606c0af2bd928446a9",
--		"d24ba6a837be0460dd107ae77725696d211446c5609b4595976b16bd",
--	},
--	{
--		"13479972931865328106486971546324465392952975980343228160962702868479",
--		"dc9fa77978a005510980e929a1485f63716df695d7a0c18bb518df03",
--		"ede2b016f2ddffc2a8c015b134928275ce09e5661b7ab14ce0d1d403",
--	},
--	{
--		"11795773708834916026404142434151065506931607341523388140225443265536",
--		"499d8b2829cfb879c901f7d85d357045edab55028824d0f05ba279ba",
--		"bf929537b06e4015919639d94f57838fa33fc3d952598dcdbb44d638",
--	},
--	{
--		"784254593043826236572847595991346435467177662189391577090",
--		"8246c999137186632c5f9eddf3b1b0e1764c5e8bd0e0d8a554b9cb77",
--		"e80ed8660bc1cb17ac7d845be40a7a022d3306f116ae9f81fea65947",
--	},
--	{
--		"13479767645505654746623887797783387853576174193480695826442858012671",
--		"6670c20afcceaea672c97f75e2e9dd5c8460e54bb38538ebb4bd30eb",
--		"f280d8008d07a4caf54271f993527d46ff3ff46fd1190a3f1faa4f74",
--	},
--	{
--		"205688069665150753842126177372015544874550518966168735589597183",
--		"eca934247425cfd949b795cb5ce1eff401550386e28d1a4c5a8eb",
--		"d4c01040dba19628931bc8855370317c722cbd9ca6156985f1c2e9ce",
--	},
--	{
--		"13479966930919337728895168462090683249159702977113823384618282123295",
--		"ef353bf5c73cd551b96d596fbc9a67f16d61dd9fe56af19de1fba9cd",
--		"21771b9cdce3e8430c09b3838be70b48c21e15bc09ee1f2d7945b91f",
--	},
--	{
--		"50210731791415612487756441341851895584393717453129007497216",
--		"4036052a3091eb481046ad3289c95d3ac905ca0023de2c03ecd451cf",
--		"d768165a38a2b96f812586a9d59d4136035d9c853a5bf2e1c86a4993",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368041",
--		"fcc7f2b45df1cd5a3c0c0731ca47a8af75cfb0347e8354eefe782455",
--		"f2a28eefd8b345832116f1e574f2c6b2c895aa8c24941f40d8b80ad1",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368042",
--		"a1e81c04f30ce201c7c9ace785ed44cc33b455a022f2acdbc6cae83c",
--		"230e093c24f638f533dac6e2b6d01da3b5e7f45429315ca93fb8e634",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368043",
--		"c9ff61b040874c0568479216824a15eab1a838a797d189746226e4cc",
--		"156729f1a003647030666054e208180f8f7b0df2249e44fba5931fff",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368044",
--		"b8357c3a6ceef288310e17b8bfeff9200846ca8c1942497c484403bc",
--		"eb610599f95942df1082e4f9426d086fb9c6231ae8b24933aab5db",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368045",
--		"b6ec4fe1777382404ef679997ba8d1cc5cd8e85349259f590c4c66d",
--		"cc662b9bcba6f94ee4ff1c9c10bd6ddd0d138df2d099a282152a4b7f",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368046",
--		"baa4d8635511a7d288aebeedd12ce529ff102c91f97f867e21916bf9",
--		"6865a0b8a607f0b04b13d1cb0aa992a5a97f5ee8ca1849efb9ed8678",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368047",
--		"a53640c83dc208603ded83e4ecf758f24c357d7cf48088b2ce01e9fa",
--		"2a7eb328dbe663b5a468b5bc97a040a3745396ba636b964370dc3352",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368048",
--		"34e8e17a430e43289793c383fac9774247b40e9ebd3366981fcfaeca",
--		"dad7e608e380480434ea641cc82c82cbc92801469c8db0204f13489a",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368049",
--		"6e31ee1dc137f81b056752e4deab1443a481033e9b4c93a3044f4f7a",
--		"df82220fc7a4021549165325725f94c3410ddb56c54e161fc9ef62ee",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368050",
--		"ef53b6294aca431f0f3c22dc82eb9050324f1d88d377e716448e507c",
--		"df4aefffbf6d1699c930481cd102127c9a3d992048ab05929b6e5927",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368051",
--		"aea9e17a306517eb89152aa7096d2c381ec813c51aa880e7bee2c0fd",
--		"c644cf154cc81f5ade49345e541b4d4b5c1adb3eb5c01c14ee949aa2",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368052",
--		"2fdcccfee720a77ef6cb3bfbb447f9383117e3daa4a07e36ed15f78d",
--		"c8e8cd1b0be40b0877cfca1958603122f1e6914f84b7e8e968ae8b9e",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368053",
--		"858e6f9cc6c12c31f5df124aa77767b05c8bc021bd683d2b55571550",
--		"fb9232c15a3bc7673a3a03b0253824c53d0fd1411b1cabe2e187fb87",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368054",
--		"db2f6be630e246a5cf7d99b85194b123d487e2d466b94b24a03c3e28",
--		"f0c5cff7ab680d09ee11dae84e9c1072ac48ea2e744b1b7f72fd469e",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368055",
--		"1f2483f82572251fca975fea40db821df8ad82a3c002ee6c57112408",
--		"76050f3348af2664aac3a8b05281304ebc7a7914c6ad50a4b4eac383",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368056",
--		"31c49ae75bce7807cdff22055d94ee9021fedbb5ab51c57526f011aa",
--		"d817400e8ba9ca13a45f360e3d121eaaeb39af82d6001c8186f5f866",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368057",
--		"ae99feebb5d26945b54892092a8aee02912930fa41cd114e40447301",
--		"fb7da7f5f13a43b81774373c879cd32d6934c05fa758eeb14fcfab38",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368058",
--		"df1b1d66a551d0d31eff822558b9d2cc75c2180279fe0d08fd896d04",
--		"5c080fc3522f41bbb3f55a97cfecf21f882ce8cbb1e50ca6e67e56dc",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368059",
--		"706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6",
--		"e3d4895843da188fd58fb0567976d7b50359d6b78530c8f62d1b1746",
--	},
--	{
--		"26959946667150639794667015087019625940457807714424391721682722368060",
--		"b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
--		"42c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd",
--	},
--}
--
++var p256BaseMultTests = []baseMultTest{
+ 	{
+ 		"1",
+ 		"b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
+@@ -287,47 +277,12 @@ var p224BaseMultTests = []baseMultTest{
+ 	},
+ }
+ 
 -func TestBaseMult(t *testing.T) {
 -	p224 := P224()
 -	for i, e := range p224BaseMultTests {
@@ -355,8 +97,27 @@
 -	}
 -}
 -
- func TestInfinity(t *testing.T) {
- 	tests := []struct {
+ func TestP256BaseMult(t *testing.T) {
+ 	p256 := P256()
+ 	p256Generic := p256.Params()
+ 
+-	scalars := make([]*big.Int, 0, len(p224BaseMultTests)+1)
+-	for _, e := range p224BaseMultTests {
++	scalars := make([]*big.Int, 0, len(p256BaseMultTests)+1)
++	for _, e := range p256BaseMultTests {
+ 		k, _ := new(big.Int).SetString(e.k, 10)
+ 		scalars = append(scalars, k)
+ 	}
+@@ -352,7 +307,7 @@ func TestP256Mult(t *testing.T) {
+ 	p256 := P256()
+ 	p256Generic := p256.Params()
+ 
+-	for i, e := range p224BaseMultTests {
++	for i, e := range p256BaseMultTests {
+ 		x, _ := new(big.Int).SetString(e.x, 16)
+ 		y, _ := new(big.Int).SetString(e.y, 16)
+ 		k, _ := new(big.Int).SetString(e.k, 10)
+@@ -373,7 +328,6 @@ func TestInfinity(t *testing.T) {
  		name  string
  		curve Curve
  	}{
@@ -364,11 +125,10 @@
  		{"p256", P256()},
  	}
  
-@@ -359,43 +44,3 @@ func TestInfinity(t *testing.T) {
- 		}
+@@ -406,53 +360,13 @@ func TestInfinity(t *testing.T) {
  	}
  }
--
+ 
 -func BenchmarkBaseMult(b *testing.B) {
 -	b.ResetTimer()
 -	p224 := P224()
@@ -380,6 +140,18 @@
 -	}
 -}
 -
+ func BenchmarkBaseMultP256(b *testing.B) {
+ 	b.ResetTimer()
+ 	p256 := P256()
+-	e := p224BaseMultTests[25]
++	e := p256BaseMultTests[25]
+ 	k, _ := new(big.Int).SetString(e.k, 10)
+ 	b.StartTimer()
+ 	for i := 0; i < b.N; i++ {
+ 		p256.ScalarBaseMult(k.Bytes())
+ 	}
+ }
+-
 -func TestMarshal(t *testing.T) {
 -	p224 := P224()
 -	_, x, y, err := GenerateKey(p224, rand.Reader)
@@ -408,8 +180,8 @@
 -		t.Error("P224 failed to validate a correct point")
 -	}
 -}
---- libgo/go/crypto/ecdsa/ecdsa_test.go.jj	2012-12-13 11:32:02.589039782 +0100
-+++ libgo/go/crypto/ecdsa/ecdsa_test.go	2014-02-18 17:28:22.909692022 +0100
+--- libgo/go/crypto/ecdsa/ecdsa_test.go.jj	2012-11-15 18:26:56.000000000 +0100
++++ libgo/go/crypto/ecdsa/ecdsa_test.go	2014-03-05 15:26:38.461442929 +0100
 @@ -33,7 +33,6 @@ func testKeyGeneration(t *testing.T, c e
  }
  
@@ -435,9 +207,9 @@
  			case "P-256":
  				pub.Curve = elliptic.P256()
  			case "P-384":
---- libgo/go/crypto/x509/x509.go.jj	2013-08-14 13:55:08.939843607 +0200
-+++ libgo/go/crypto/x509/x509.go	2014-02-18 17:28:22.943691764 +0100
-@@ -283,9 +283,6 @@ func getPublicKeyAlgorithmFromOID(oid as
+--- libgo/go/crypto/x509/x509.go.jj	2013-11-07 11:59:09.000000000 +0100
++++ libgo/go/crypto/x509/x509.go	2014-03-05 15:27:37.022439437 +0100
+@@ -305,9 +305,6 @@ func getPublicKeyAlgorithmFromOID(oid as
  
  // RFC 5480, 2.1.1.1. Named Curve
  //
@@ -447,7 +219,7 @@
  // secp256r1 OBJECT IDENTIFIER ::= {
  //   iso(1) member-body(2) us(840) ansi-X9-62(10045) curves(3)
  //   prime(1) 7 }
-@@ -298,7 +295,6 @@ func getPublicKeyAlgorithmFromOID(oid as
+@@ -320,7 +317,6 @@ func getPublicKeyAlgorithmFromOID(oid as
  //
  // NB: secp256r1 is equivalent to prime256v1
  var (
@@ -455,7 +227,7 @@
  	oidNamedCurveP256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 3, 1, 7}
  	oidNamedCurveP384 = asn1.ObjectIdentifier{1, 3, 132, 0, 34}
  	oidNamedCurveP521 = asn1.ObjectIdentifier{1, 3, 132, 0, 35}
-@@ -306,8 +302,6 @@ var (
+@@ -328,8 +324,6 @@ var (
  
  func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
  	switch {
@@ -464,7 +236,7 @@
  	case oid.Equal(oidNamedCurveP256):
  		return elliptic.P256()
  	case oid.Equal(oidNamedCurveP384):
-@@ -320,8 +314,6 @@ func namedCurveFromOID(oid asn1.ObjectId
+@@ -342,8 +336,6 @@ func namedCurveFromOID(oid asn1.ObjectId
  
  func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
  	switch curve {
@@ -473,7 +245,7 @@
  	case elliptic.P256():
  		return oidNamedCurveP256, true
  	case elliptic.P384():
-@@ -1212,7 +1204,7 @@ func CreateCertificate(rand io.Reader, t
+@@ -1373,7 +1365,7 @@ func CreateCertificate(rand io.Reader, t
  		hashFunc = crypto.SHA1
  	case *ecdsa.PrivateKey:
  		switch priv.Curve {
@@ -482,8 +254,8 @@
  			hashFunc = crypto.SHA256
  			signatureAlgorithm.Algorithm = oidSignatureECDSAWithSHA256
  		case elliptic.P384():
---- libgo/go/crypto/elliptic/p224.go.jj	2012-12-13 11:32:02.641039533 +0100
-+++ libgo/go/crypto/elliptic/p224.go	2014-02-15 11:40:56.191557928 +0100
+--- libgo/go/crypto/elliptic/p224.go.jj	2012-11-15 18:26:57.000000000 +0100
++++ libgo/go/crypto/elliptic/p224.go	2014-03-05 15:30:01.189430842 +0100
 @@ -1,765 +0,0 @@
 -// Copyright 2012 The Go Authors.  All rights reserved.
 -// Use of this source code is governed by a BSD-style
@@ -1250,8 +1022,8 @@
 -
 -	return new(big.Int).SetBytes(buf[:])
 -}
---- libgo/go/crypto/elliptic/p224_test.go.jj	2014-02-18 18:03:31.615598561 +0100
-+++ libgo/go/crypto/elliptic/p224_test.go	2014-02-15 11:40:56.191557928 +0100
+--- libgo/go/crypto/elliptic/p224_test.go.jj	2012-11-15 18:26:57.000000000 +0100
++++ libgo/go/crypto/elliptic/p224_test.go	2014-03-05 15:29:58.743430988 +0100
 @@ -1,47 +0,0 @@
 -// Copyright 2012 The Go Authors.  All rights reserved.
 -// Use of this source code is governed by a BSD-style
@@ -1300,3 +1072,22 @@
 -		}
 -	}
 -}
+--- libgo/go/crypto/elliptic/p256.go.jj	2013-11-07 11:59:09.000000000 +0100
++++ libgo/go/crypto/elliptic/p256.go	2014-03-05 15:34:31.910414701 +0100
+@@ -233,6 +233,8 @@ func p256ReduceCarry(inout *[p256Limbs]u
+ 	inout[7] += carry << 25
+ }
+ 
++const bottom28Bits = 0xfffffff
++
+ // p256Sum sets out = in+in2.
+ //
+ // On entry, in[i]+in2[i] must not overflow a 32-bit word.
+@@ -265,6 +267,7 @@ const (
+ 	two31m2    = 1<<31 - 1<<2
+ 	two31p24m2 = 1<<31 + 1<<24 - 1<<2
+ 	two30m27m2 = 1<<30 - 1<<27 - 1<<2
++	two31m3    = 1<<31 - 1<<3
+ )
+ 
+ // p256Zero31 is 0 mod p.
diff --git a/gcc48-libgomp-omp_h-multilib.patch b/gcc49-libgomp-omp_h-multilib.patch
similarity index 100%
rename from gcc48-libgomp-omp_h-multilib.patch
rename to gcc49-libgomp-omp_h-multilib.patch
diff --git a/gcc48-libstdc++-docs.patch b/gcc49-libstdc++-docs.patch
similarity index 96%
rename from gcc48-libstdc++-docs.patch
rename to gcc49-libstdc++-docs.patch
index 6f87ea5..dd328a2 100644
--- a/gcc48-libstdc++-docs.patch
+++ b/gcc49-libstdc++-docs.patch
@@ -4,7 +4,7 @@
        <a class="link" href="http://www.fsf.org/" target="_top">FSF
        </a>
      </p><p>
-+      Release 4.8.1
++      Release 4.9.0
 +    </p><p>
        Permission is granted to copy, distribute and/or modify this
        document under the terms of the GNU Free Documentation
@@ -18,7 +18,7 @@
 -  The API documentation, rendered into HTML, can be viewed online:
 +  The API documentation, rendered into HTML, can be viewed here:
  </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
-+      <a class="link" href="api/index.html" target="_top">for the 4.8.1 release, local
++      <a class="link" href="api/index.html" target="_top">for the 4.9.0 release, local
 +      </a>
 +    </p></li><li class="listitem"><p>
        <a class="link" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="_top">for the 3.4 release
diff --git a/gcc48-libtool-no-rpath.patch b/gcc49-libtool-no-rpath.patch
similarity index 100%
rename from gcc48-libtool-no-rpath.patch
rename to gcc49-libtool-no-rpath.patch
diff --git a/gcc48-no-add-needed.patch b/gcc49-no-add-needed.patch
similarity index 100%
rename from gcc48-no-add-needed.patch
rename to gcc49-no-add-needed.patch
diff --git a/gcc48-ppc32-retaddr.patch b/gcc49-ppc32-retaddr.patch
similarity index 91%
rename from gcc48-ppc32-retaddr.patch
rename to gcc49-ppc32-retaddr.patch
index 78120cc..7e8eeb5 100644
--- a/gcc48-ppc32-retaddr.patch
+++ b/gcc49-ppc32-retaddr.patch
@@ -8,9 +8,9 @@
 
 --- gcc/config/rs6000/rs6000.c.jj	2005-11-26 14:38:01.000000000 +0100
 +++ gcc/config/rs6000/rs6000.c	2005-11-28 20:32:18.000000000 +0100
-@@ -18325,18 +18325,22 @@ rs6000_return_addr (int count, rtx frame
-      don't try to be too clever here.  */
-   if (count != 0 || (DEFAULT_ABI != ABI_AIX && flag_pic))
+@@ -20970,18 +20970,22 @@ rs6000_return_addr (int count, rtx frame
+   if (count != 0
+       || ((DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_DARWIN) && flag_pic))
      {
 +      rtx x;
        cfun->machine->ra_needs_full_frame = 1;
diff --git a/gcc48-pr38757.patch b/gcc49-pr38757.patch
similarity index 100%
rename from gcc48-pr38757.patch
rename to gcc49-pr38757.patch
diff --git a/gcc49-pr45078.patch b/gcc49-pr45078.patch
new file mode 100644
index 0000000..0c47112
--- /dev/null
+++ b/gcc49-pr45078.patch
@@ -0,0 +1,16 @@
+2014-06-12  Jakub Jelinek  <jakub at redhat.com>
+
+	PR plugins/45078
+	* config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
+
+--- gcc/config.gcc.jj	2014-04-24 23:18:09.552816344 +0200
++++ gcc/config.gcc	2014-06-12 21:25:04.406828996 +0200
+@@ -1021,7 +1021,7 @@ arm*-*-linux-*)			# ARM GNU/Linux with E
+ 	    ;;
+ 	esac
+ 	tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
+-	tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h arm/arm.h"
++	tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h vxworks-dummy.h arm/arm.h"
+ 	# Define multilib configuration for arm-linux-androideabi.
+ 	case ${target} in
+ 	*-androideabi)
diff --git a/gcc48-pr56493.patch b/gcc49-pr56493.patch
similarity index 100%
rename from gcc48-pr56493.patch
rename to gcc49-pr56493.patch
diff --git a/gcc48-rh330771.patch b/gcc49-rh330771.patch
similarity index 100%
rename from gcc48-rh330771.patch
rename to gcc49-rh330771.patch
diff --git a/gcc48-sparc-config-detection.patch b/gcc49-sparc-config-detection.patch
similarity index 89%
rename from gcc48-sparc-config-detection.patch
rename to gcc49-sparc-config-detection.patch
index 97fed22..cd683a0 100644
--- a/gcc48-sparc-config-detection.patch
+++ b/gcc49-sparc-config-detection.patch
@@ -1,17 +1,17 @@
 --- gcc/config.gcc.jj	2008-04-24 15:42:46.000000000 -0500
 +++ gcc/config.gcc	2008-04-24 15:44:51.000000000 -0500
-@@ -2421,7 +2421,7 @@ sparc-*-rtems*)
+@@ -2656,7 +2656,7 @@ sparc-*-rtems*)
  	tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
- 	tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
+ 	tmake_file="${tmake_file} sparc/t-sparc sparc/t-elf sparc/t-rtems"
  	;;
 -sparc-*-linux*)
 +sparc-*-linux* | sparcv9-*-linux*)
  	tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
  	extra_options="${extra_options} sparc/long-double-switch.opt"
  	case ${target} in
-@@ -2474,7 +2474,7 @@ sparc64-*-rtems*)
+@@ -2710,7 +2710,7 @@ sparc64-*-rtems*)
  	extra_options="${extra_options}"
- 	tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
+ 	tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
  	;;
 -sparc64-*-linux*)
 +sparc64*-*-linux*)
diff --git a/gcc49-tmake_in_config.patch b/gcc49-tmake_in_config.patch
new file mode 100644
index 0000000..0609895
--- /dev/null
+++ b/gcc49-tmake_in_config.patch
@@ -0,0 +1,13 @@
+Index: gcc/config.gcc
+===================================================================
+--- gcc/config.gcc
++++ gcc/config.gcc
+@@ -1130,7 +1130,7 @@
+ crisv32-*-linux* | cris-*-linux*)
+ 	tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h glibc-stdint.h cris/linux.h"
+ 	# We need to avoid using t-linux, so override default tmake_file
+-	tmake_file="cris/t-cris cris/t-linux t-slibgcc t-linux"
++	tmake_file="${tmake_file} cris/t-cris cris/t-linux t-slibgcc"
+ 	extra_options="${extra_options} cris/linux.opt"
+ 	case $target in
+ 	  cris-*-*)
diff --git a/sources b/sources
index 285d3cd..f32a8b3 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-be78a47bd82523250eb3e91646db5b3d  cloog-0.18.0.tar.gz
-bce1586384d8635a76d2f017fb067cd2  isl-0.11.1.tar.bz2
-9f699b42394bd2754d9f77427553d923  gcc-4.8.2-20140120.tar.bz2
+e34fca0540d840e5d0f6427e98c92252  cloog-0.18.1.tar.gz
+fad1b2e70231fb0845ee48190a223354  gcc-4.9.0-20140612.tar.bz2
+e039bfcfb6c2ab039b8ee69bf883e824  isl-0.12.2.tar.bz2


More information about the scm-commits mailing list