From 6a935e92877e28a06f0178d695376e6a0ea6aa36 Mon Sep 17 00:00:00 2001
From: Patrick Oppenlander <patrick.oppenlander@gmail.com>
Date: Tue, 15 Aug 2017 08:56:55 +1000
Subject: [PATCH] update to gcc 7.2.0

---
 Makefile                                                      | 2 +-
 hashes/gcc-7.1.0.tar.bz2.sha1                                 | 1 -
 hashes/gcc-7.2.0.tar.xz.sha1                                  | 1 +
 patches/{gcc-7.1.0 => gcc-7.2.0}/0002-ssp_nonshared.diff      | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0004-posix_memalign.diff     | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0005-cilkrts.diff            | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0006-libatomic-test-fix.diff | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0007-libgomp-test-fix.diff   | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0008-libitm-test-fix.diff    | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0009-libvtv-test-fix.diff    | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0010-static-pie-support.diff | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0011-j2.diff                 | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0012-s390x-muslldso.diff     | 0
 patches/{gcc-7.1.0 => gcc-7.2.0}/0013-microblaze-pr65649.diff | 0
 14 files changed, 2 insertions(+), 2 deletions(-)
 delete mode 100644 hashes/gcc-7.1.0.tar.bz2.sha1
 create mode 100644 hashes/gcc-7.2.0.tar.xz.sha1
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0002-ssp_nonshared.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0004-posix_memalign.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0005-cilkrts.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0006-libatomic-test-fix.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0007-libgomp-test-fix.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0008-libitm-test-fix.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0009-libvtv-test-fix.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0010-static-pie-support.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0011-j2.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0012-s390x-muslldso.diff (100%)
 rename patches/{gcc-7.1.0 => gcc-7.2.0}/0013-microblaze-pr65649.diff (100%)

diff --git a/Makefile b/Makefile
index 8185ab4..566102a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ SOURCES = sources
 
 CONFIG_SUB_REV = 3d5db9ebe860
 BINUTILS_VER = 2.27
-GCC_VER = 7.1.0
+GCC_VER = 7.2.0
 MUSL_VER = 1.1.16
 GMP_VER = 6.1.1
 MPC_VER = 1.0.3
diff --git a/hashes/gcc-7.1.0.tar.bz2.sha1 b/hashes/gcc-7.1.0.tar.bz2.sha1
deleted file mode 100644
index 319eaef..0000000
--- a/hashes/gcc-7.1.0.tar.bz2.sha1
+++ /dev/null
@@ -1 +0,0 @@
-9f1e907f27eadefe7d5f7567c09e17805d9c8837  gcc-7.1.0.tar.bz2
diff --git a/hashes/gcc-7.2.0.tar.xz.sha1 b/hashes/gcc-7.2.0.tar.xz.sha1
new file mode 100644
index 0000000..159ce7f
--- /dev/null
+++ b/hashes/gcc-7.2.0.tar.xz.sha1
@@ -0,0 +1 @@
+08a88199ed94fdf4940d118ba3c07028245cd5b7  gcc-7.2.0.tar.xz
diff --git a/patches/gcc-7.1.0/0002-ssp_nonshared.diff b/patches/gcc-7.2.0/0002-ssp_nonshared.diff
similarity index 100%
rename from patches/gcc-7.1.0/0002-ssp_nonshared.diff
rename to patches/gcc-7.2.0/0002-ssp_nonshared.diff
diff --git a/patches/gcc-7.1.0/0004-posix_memalign.diff b/patches/gcc-7.2.0/0004-posix_memalign.diff
similarity index 100%
rename from patches/gcc-7.1.0/0004-posix_memalign.diff
rename to patches/gcc-7.2.0/0004-posix_memalign.diff
diff --git a/patches/gcc-7.1.0/0005-cilkrts.diff b/patches/gcc-7.2.0/0005-cilkrts.diff
similarity index 100%
rename from patches/gcc-7.1.0/0005-cilkrts.diff
rename to patches/gcc-7.2.0/0005-cilkrts.diff
diff --git a/patches/gcc-7.1.0/0006-libatomic-test-fix.diff b/patches/gcc-7.2.0/0006-libatomic-test-fix.diff
similarity index 100%
rename from patches/gcc-7.1.0/0006-libatomic-test-fix.diff
rename to patches/gcc-7.2.0/0006-libatomic-test-fix.diff
diff --git a/patches/gcc-7.1.0/0007-libgomp-test-fix.diff b/patches/gcc-7.2.0/0007-libgomp-test-fix.diff
similarity index 100%
rename from patches/gcc-7.1.0/0007-libgomp-test-fix.diff
rename to patches/gcc-7.2.0/0007-libgomp-test-fix.diff
diff --git a/patches/gcc-7.1.0/0008-libitm-test-fix.diff b/patches/gcc-7.2.0/0008-libitm-test-fix.diff
similarity index 100%
rename from patches/gcc-7.1.0/0008-libitm-test-fix.diff
rename to patches/gcc-7.2.0/0008-libitm-test-fix.diff
diff --git a/patches/gcc-7.1.0/0009-libvtv-test-fix.diff b/patches/gcc-7.2.0/0009-libvtv-test-fix.diff
similarity index 100%
rename from patches/gcc-7.1.0/0009-libvtv-test-fix.diff
rename to patches/gcc-7.2.0/0009-libvtv-test-fix.diff
diff --git a/patches/gcc-7.1.0/0010-static-pie-support.diff b/patches/gcc-7.2.0/0010-static-pie-support.diff
similarity index 100%
rename from patches/gcc-7.1.0/0010-static-pie-support.diff
rename to patches/gcc-7.2.0/0010-static-pie-support.diff
diff --git a/patches/gcc-7.1.0/0011-j2.diff b/patches/gcc-7.2.0/0011-j2.diff
similarity index 100%
rename from patches/gcc-7.1.0/0011-j2.diff
rename to patches/gcc-7.2.0/0011-j2.diff
diff --git a/patches/gcc-7.1.0/0012-s390x-muslldso.diff b/patches/gcc-7.2.0/0012-s390x-muslldso.diff
similarity index 100%
rename from patches/gcc-7.1.0/0012-s390x-muslldso.diff
rename to patches/gcc-7.2.0/0012-s390x-muslldso.diff
diff --git a/patches/gcc-7.1.0/0013-microblaze-pr65649.diff b/patches/gcc-7.2.0/0013-microblaze-pr65649.diff
similarity index 100%
rename from patches/gcc-7.1.0/0013-microblaze-pr65649.diff
rename to patches/gcc-7.2.0/0013-microblaze-pr65649.diff