aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.version2
-rw-r--r--toolchain/gcc/common.mk4
-rw-r--r--toolchain/gcc/patches/6.2.0/001-revert_register_mode_search.patch (renamed from toolchain/gcc/patches/6.1.0/001-revert_register_mode_search.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/002-case_insensitive.patch (renamed from toolchain/gcc/patches/6.1.0/002-case_insensitive.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/010-documentation.patch (renamed from toolchain/gcc/patches/6.1.0/010-documentation.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/100-uclibc-conf.patch (renamed from toolchain/gcc/patches/6.1.0/100-uclibc-conf.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/230-musl_libssp.patch (renamed from toolchain/gcc/patches/6.1.0/230-musl_libssp.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch (renamed from toolchain/gcc/patches/6.1.0/300-mips_Os_cpu_rtx_cost_model.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/800-arm_v5te_no_ldrd_strd.patch (renamed from toolchain/gcc/patches/6.1.0/800-arm_v5te_no_ldrd_strd.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/810-arm-softfloat-libgcc.patch (renamed from toolchain/gcc/patches/6.1.0/810-arm-softfloat-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/820-libgcc_pic.patch (renamed from toolchain/gcc/patches/6.1.0/820-libgcc_pic.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/830-arm_unbreak_armv4t.patch (renamed from toolchain/gcc/patches/6.1.0/830-arm_unbreak_armv4t.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/840-armv4_pass_fix-v4bx_to_ld.patch (renamed from toolchain/gcc/patches/6.1.0/840-armv4_pass_fix-v4bx_to_ld.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/850-use_shared_libgcc.patch (renamed from toolchain/gcc/patches/6.1.0/850-use_shared_libgcc.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/851-libgcc_no_compat.patch (renamed from toolchain/gcc/patches/6.1.0/851-libgcc_no_compat.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/870-ppc_no_crtsavres.patch (renamed from toolchain/gcc/patches/6.1.0/870-ppc_no_crtsavres.patch)2
-rw-r--r--toolchain/gcc/patches/6.2.0/880-no_java_section.patch (renamed from toolchain/gcc/patches/6.1.0/880-no_java_section.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/900-bad-mips16-crt.patch (renamed from toolchain/gcc/patches/6.1.0/900-bad-mips16-crt.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/910-mbsd_multi.patch (renamed from toolchain/gcc/patches/6.1.0/910-mbsd_multi.patch)4
-rw-r--r--toolchain/gcc/patches/6.2.0/920-specs_nonfatal_getenv.patch (renamed from toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch)2
-rw-r--r--toolchain/gcc/patches/6.2.0/930-fix-mips-noexecstack.patch (renamed from toolchain/gcc/patches/6.1.0/930-fix-mips-noexecstack.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/940-no-clobber-stamp-bits.patch (renamed from toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch)0
-rw-r--r--toolchain/gcc/patches/6.2.0/950-cpp_file_path_translation.patch (renamed from toolchain/gcc/patches/6.1.0/950-cpp_file_path_translation.patch)2
23 files changed, 8 insertions, 8 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 53caa24577..27aa20cb39 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -5,7 +5,7 @@ config GCC_VERSION_4_8_ARC
config GCC_VERSION
string
default "arc-2016.03" if GCC_VERSION_4_8_ARC
- default "6.1.0" if GCC_USE_VERSION_6
+ default "6.2.0" if GCC_USE_VERSION_6
default "5.4.0"
config GCC_VERSION_4_8
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index 4220cf54f3..c6949dc7b4 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -32,8 +32,8 @@ ifeq ($(PKG_VERSION),5.4.0)
PKG_MD5SUM:=4c626ac2a83ef30dfb9260e6f59c2b30
endif
-ifeq ($(PKG_VERSION),6.1.0)
- PKG_MD5SUM:=8fb6cb98b8459f5863328380fbf06bd1
+ifeq ($(PKG_VERSION),6.2.0)
+ PKG_MD5SUM:=9768625159663b300ae4de2f4745fcc4
endif
ifneq ($(CONFIG_GCC_VERSION_4_8_ARC),)
diff --git a/toolchain/gcc/patches/6.1.0/001-revert_register_mode_search.patch b/toolchain/gcc/patches/6.2.0/001-revert_register_mode_search.patch
index bd6fbdb4a9..bd6fbdb4a9 100644
--- a/toolchain/gcc/patches/6.1.0/001-revert_register_mode_search.patch
+++ b/toolchain/gcc/patches/6.2.0/001-revert_register_mode_search.patch
diff --git a/toolchain/gcc/patches/6.1.0/002-case_insensitive.patch b/toolchain/gcc/patches/6.2.0/002-case_insensitive.patch
index b3d2dbe291..b3d2dbe291 100644
--- a/toolchain/gcc/patches/6.1.0/002-case_insensitive.patch
+++ b/toolchain/gcc/patches/6.2.0/002-case_insensitive.patch
diff --git a/toolchain/gcc/patches/6.1.0/010-documentation.patch b/toolchain/gcc/patches/6.2.0/010-documentation.patch
index 2adb28c83d..2adb28c83d 100644
--- a/toolchain/gcc/patches/6.1.0/010-documentation.patch
+++ b/toolchain/gcc/patches/6.2.0/010-documentation.patch
diff --git a/toolchain/gcc/patches/6.1.0/100-uclibc-conf.patch b/toolchain/gcc/patches/6.2.0/100-uclibc-conf.patch
index ff9ad94f62..ff9ad94f62 100644
--- a/toolchain/gcc/patches/6.1.0/100-uclibc-conf.patch
+++ b/toolchain/gcc/patches/6.2.0/100-uclibc-conf.patch
diff --git a/toolchain/gcc/patches/6.1.0/230-musl_libssp.patch b/toolchain/gcc/patches/6.2.0/230-musl_libssp.patch
index 8dfd1fc287..8dfd1fc287 100644
--- a/toolchain/gcc/patches/6.1.0/230-musl_libssp.patch
+++ b/toolchain/gcc/patches/6.2.0/230-musl_libssp.patch
diff --git a/toolchain/gcc/patches/6.1.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch
index d76bd8cb1d..d76bd8cb1d 100644
--- a/toolchain/gcc/patches/6.1.0/300-mips_Os_cpu_rtx_cost_model.patch
+++ b/toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch
diff --git a/toolchain/gcc/patches/6.1.0/800-arm_v5te_no_ldrd_strd.patch b/toolchain/gcc/patches/6.2.0/800-arm_v5te_no_ldrd_strd.patch
index 2e7c23f851..2e7c23f851 100644
--- a/toolchain/gcc/patches/6.1.0/800-arm_v5te_no_ldrd_strd.patch
+++ b/toolchain/gcc/patches/6.2.0/800-arm_v5te_no_ldrd_strd.patch
diff --git a/toolchain/gcc/patches/6.1.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/6.2.0/810-arm-softfloat-libgcc.patch
index 1d06f5b2ec..1d06f5b2ec 100644
--- a/toolchain/gcc/patches/6.1.0/810-arm-softfloat-libgcc.patch
+++ b/toolchain/gcc/patches/6.2.0/810-arm-softfloat-libgcc.patch
diff --git a/toolchain/gcc/patches/6.1.0/820-libgcc_pic.patch b/toolchain/gcc/patches/6.2.0/820-libgcc_pic.patch
index f925d96f66..f925d96f66 100644
--- a/toolchain/gcc/patches/6.1.0/820-libgcc_pic.patch
+++ b/toolchain/gcc/patches/6.2.0/820-libgcc_pic.patch
diff --git a/toolchain/gcc/patches/6.1.0/830-arm_unbreak_armv4t.patch b/toolchain/gcc/patches/6.2.0/830-arm_unbreak_armv4t.patch
index 37f8f2a54d..37f8f2a54d 100644
--- a/toolchain/gcc/patches/6.1.0/830-arm_unbreak_armv4t.patch
+++ b/toolchain/gcc/patches/6.2.0/830-arm_unbreak_armv4t.patch
diff --git a/toolchain/gcc/patches/6.1.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/6.2.0/840-armv4_pass_fix-v4bx_to_ld.patch
index cb1fb98235..cb1fb98235 100644
--- a/toolchain/gcc/patches/6.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches/6.2.0/840-armv4_pass_fix-v4bx_to_ld.patch
diff --git a/toolchain/gcc/patches/6.1.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches/6.2.0/850-use_shared_libgcc.patch
index cd20244c69..cd20244c69 100644
--- a/toolchain/gcc/patches/6.1.0/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches/6.2.0/850-use_shared_libgcc.patch
diff --git a/toolchain/gcc/patches/6.1.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches/6.2.0/851-libgcc_no_compat.patch
index 80c3476841..80c3476841 100644
--- a/toolchain/gcc/patches/6.1.0/851-libgcc_no_compat.patch
+++ b/toolchain/gcc/patches/6.2.0/851-libgcc_no_compat.patch
diff --git a/toolchain/gcc/patches/6.1.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches/6.2.0/870-ppc_no_crtsavres.patch
index 71671619ee..c1eaf975c3 100644
--- a/toolchain/gcc/patches/6.1.0/870-ppc_no_crtsavres.patch
+++ b/toolchain/gcc/patches/6.2.0/870-ppc_no_crtsavres.patch
@@ -1,6 +1,6 @@
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
-@@ -23090,7 +23090,7 @@ rs6000_savres_strategy (rs6000_stack_t *
+@@ -24141,7 +24141,7 @@ rs6000_savres_strategy (rs6000_stack_t *
/* Define cutoff for using out-of-line functions to save registers. */
if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
{
diff --git a/toolchain/gcc/patches/6.1.0/880-no_java_section.patch b/toolchain/gcc/patches/6.2.0/880-no_java_section.patch
index 0fa9e627c2..0fa9e627c2 100644
--- a/toolchain/gcc/patches/6.1.0/880-no_java_section.patch
+++ b/toolchain/gcc/patches/6.2.0/880-no_java_section.patch
diff --git a/toolchain/gcc/patches/6.1.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches/6.2.0/900-bad-mips16-crt.patch
index dd6e9dc889..dd6e9dc889 100644
--- a/toolchain/gcc/patches/6.1.0/900-bad-mips16-crt.patch
+++ b/toolchain/gcc/patches/6.2.0/900-bad-mips16-crt.patch
diff --git a/toolchain/gcc/patches/6.1.0/910-mbsd_multi.patch b/toolchain/gcc/patches/6.2.0/910-mbsd_multi.patch
index 0265d68952..62203dfcf6 100644
--- a/toolchain/gcc/patches/6.1.0/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches/6.2.0/910-mbsd_multi.patch
@@ -178,7 +178,7 @@
-Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol
-Wformat-security -Wformat-signedness -Wformat-y2k -Wframe-address @gol
-Wframe-larger-than=@var{len} -Wno-free-nonheap-object -Wjump-misses-init @gol
-@@ -5736,6 +5736,22 @@ This option is only supported for C and
+@@ -5737,6 +5737,22 @@ This option is only supported for C and
@option{-Wall} and by @option{-Wpedantic}, which can be disabled with
@option{-Wno-pointer-sign}.
@@ -201,7 +201,7 @@
@item -Wstack-protector
@opindex Wstack-protector
@opindex Wno-stack-protector
-@@ -6604,7 +6620,7 @@ so, the first branch is redirected to ei
+@@ -6605,7 +6621,7 @@ so, the first branch is redirected to ei
second branch or a point immediately following it, depending on whether
the condition is known to be true or false.
diff --git a/toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/6.2.0/920-specs_nonfatal_getenv.patch
index 6d9672e506..dc0acb95a8 100644
--- a/toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch
+++ b/toolchain/gcc/patches/6.2.0/920-specs_nonfatal_getenv.patch
@@ -1,6 +1,6 @@
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
-@@ -9194,8 +9194,10 @@ getenv_spec_function (int argc, const ch
+@@ -9198,8 +9198,10 @@ getenv_spec_function (int argc, const ch
value = varname;
if (!value)
diff --git a/toolchain/gcc/patches/6.1.0/930-fix-mips-noexecstack.patch b/toolchain/gcc/patches/6.2.0/930-fix-mips-noexecstack.patch
index 2a99840b63..2a99840b63 100644
--- a/toolchain/gcc/patches/6.1.0/930-fix-mips-noexecstack.patch
+++ b/toolchain/gcc/patches/6.2.0/930-fix-mips-noexecstack.patch
diff --git a/toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch b/toolchain/gcc/patches/6.2.0/940-no-clobber-stamp-bits.patch
index 65f59fcfa7..65f59fcfa7 100644
--- a/toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch
+++ b/toolchain/gcc/patches/6.2.0/940-no-clobber-stamp-bits.patch
diff --git a/toolchain/gcc/patches/6.1.0/950-cpp_file_path_translation.patch b/toolchain/gcc/patches/6.2.0/950-cpp_file_path_translation.patch
index 5b0d6ccacf..d467eb7c9a 100644
--- a/toolchain/gcc/patches/6.1.0/950-cpp_file_path_translation.patch
+++ b/toolchain/gcc/patches/6.2.0/950-cpp_file_path_translation.patch
@@ -64,7 +64,7 @@ Forward ported from attachment to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4
@item Code Generation Options
@xref{Code Gen Options,,Options for Code Generation Conventions}.
-@@ -10860,6 +10860,12 @@ be searched for header files only for th
+@@ -10861,6 +10861,12 @@ be searched for header files only for th
"@var{file}"}; they are not searched for @code{#include <@var{file}>},
otherwise just like @option{-I}.
u_start_batch(struct rcu_ctrlblk *rcp) { if (rcp->next_pending && rcp->completed == rcp->cur) { rcp->next_pending = 0; /* * next_pending == 0 must be visible in * __rcu_process_callbacks() before it can see new value of cur. */ smp_wmb(); rcp->cur++; rcp->cpumask = cpu_online_map; } } /* * cpu went through a quiescent state since the beginning of the grace period. * Clear it from the cpu mask and complete the grace period if it was the last * cpu. Start another grace period if someone has further entries pending */ static void cpu_quiet(int cpu, struct rcu_ctrlblk *rcp) { cpu_clear(cpu, rcp->cpumask); if (cpus_empty(rcp->cpumask)) { /* batch completed ! */ rcp->completed = rcp->cur; rcu_start_batch(rcp); } } /* * Check if the cpu has gone through a quiescent state (say context * switch). If so and if it already hasn't done so in this RCU * quiescent cycle, then indicate that it has done so. */ static void rcu_check_quiescent_state(struct rcu_ctrlblk *rcp, struct rcu_data *rdp) { if (rdp->quiescbatch != rcp->cur) { /* start new grace period: */ rdp->qs_pending = 1; rdp->quiescbatch = rcp->cur; return; } /* Grace period already completed for this cpu? * qs_pending is checked instead of the actual bitmap to avoid * cacheline trashing. */ if (!rdp->qs_pending) return; rdp->qs_pending = 0; spin_lock(&rcp->lock); /* * rdp->quiescbatch/rcp->cur and the cpu bitmap can come out of sync * during cpu startup. Ignore the quiescent state. */ if (likely(rdp->quiescbatch == rcp->cur)) cpu_quiet(rdp->cpu, rcp); spin_unlock(&rcp->lock); } /* * This does the RCU processing work from softirq context. */ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp, struct rcu_data *rdp) { if (rdp->curlist && !rcu_batch_before(rcp->completed, rdp->batch)) { *rdp->donetail = rdp->curlist; rdp->donetail = rdp->curtail; rdp->curlist = NULL; rdp->curtail = &rdp->curlist; } local_irq_disable(); if (rdp->nxtlist && !rdp->curlist) { rdp->curlist = rdp->nxtlist; rdp->curtail = rdp->nxttail; rdp->nxtlist = NULL; rdp->nxttail = &rdp->nxtlist; local_irq_enable(); /* * start the next batch of callbacks */ /* determine batch number */ rdp->batch = rcp->cur + 1; /* see the comment and corresponding wmb() in * the rcu_start_batch() */ smp_rmb(); if (!rcp->next_pending) { /* and start it/schedule start if it's a new batch */ spin_lock(&rcp->lock); rcp->next_pending = 1; rcu_start_batch(rcp); spin_unlock(&rcp->lock); } } else { local_irq_enable(); } rcu_check_quiescent_state(rcp, rdp); if (rdp->donelist) rcu_do_batch(rdp); } static void rcu_process_callbacks(void) { __rcu_process_callbacks(&rcu_ctrlblk, &__get_cpu_var(rcu_data)); } static int __rcu_pending(struct rcu_ctrlblk *rcp, struct rcu_data *rdp) { /* This cpu has pending rcu entries and the grace period * for them has completed. */ if (rdp->curlist && !rcu_batch_before(rcp->completed, rdp->batch)) return 1; /* This cpu has no pending entries, but there are new entries */ if (!rdp->curlist && rdp->nxtlist) return 1; /* This cpu has finished callbacks to invoke */ if (rdp->donelist) return 1; /* The rcu core waits for a quiescent state from the cpu */ if (rdp->quiescbatch != rcp->cur || rdp->qs_pending) return 1; /* nothing to do */ return 0; } int rcu_pending(int cpu) { return __rcu_pending(&rcu_ctrlblk, &per_cpu(rcu_data, cpu)); } /* * Check to see if any future RCU-related work will need to be done * by the current CPU, even if none need be done immediately, returning * 1 if so. This function is part of the RCU implementation; it is -not- * an exported member of the RCU API. */ int rcu_needs_cpu(int cpu) { struct rcu_data *rdp = &per_cpu(rcu_data, cpu); return (!!rdp->curlist || rcu_pending(cpu)); } void rcu_check_callbacks(int cpu) { raise_softirq(RCU_SOFTIRQ); } static void rcu_init_percpu_data(int cpu, struct rcu_ctrlblk *rcp, struct rcu_data *rdp) { memset(rdp, 0, sizeof(*rdp)); rdp->curtail = &rdp->curlist; rdp->nxttail = &rdp->nxtlist; rdp->donetail = &rdp->donelist; rdp->quiescbatch = rcp->completed; rdp->qs_pending = 0; rdp->cpu = cpu; rdp->blimit = blimit; } void __devinit rcu_online_cpu(int cpu) { struct rcu_data *rdp = &per_cpu(rcu_data, cpu); rcu_init_percpu_data(cpu, &rcu_ctrlblk, rdp); } void __init rcu_init(void) { rcu_online_cpu(smp_processor_id()); open_softirq(RCU_SOFTIRQ, rcu_process_callbacks); }