summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Config.in.host2
-rw-r--r--package/gcc/arc-2015.06/0001-Differentiate-between-a-bss-TLS-initialized-symbol.patch42
-rw-r--r--package/gcc/arc-2015.06/0001-Handle-correctly-compare-arguments.patch71
-rw-r--r--package/gcc/arc-2015.12-rc1/100-libstdcxx-uclibc-c99.patch (renamed from package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch)0
-rw-r--r--package/gcc/arc-2015.12-rc1/851-PR-other-56780.patch (renamed from package/gcc/arc-2015.06/851-PR-other-56780.patch)0
-rw-r--r--package/gcc/gcc.hash2
6 files changed, 2 insertions, 115 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 57cafa4f1d..4184ac75ef 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -114,7 +114,7 @@ config BR2_GCC_VERSION
default "4.8.5" if BR2_GCC_VERSION_4_8_X
default "4.9.3" if BR2_GCC_VERSION_4_9_X
default "5.3.0" if BR2_GCC_VERSION_5_X
- default "arc-2015.06" if BR2_GCC_VERSION_4_8_ARC
+ default "arc-2015.12-rc1" if BR2_GCC_VERSION_4_8_ARC
config BR2_EXTRA_GCC_CONFIG_OPTIONS
string "Additional gcc options"
diff --git a/package/gcc/arc-2015.06/0001-Differentiate-between-a-bss-TLS-initialized-symbol.patch b/package/gcc/arc-2015.06/0001-Differentiate-between-a-bss-TLS-initialized-symbol.patch
deleted file mode 100644
index 7a86b621ac..0000000000
--- a/package/gcc/arc-2015.06/0001-Differentiate-between-a-bss-TLS-initialized-symbol.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 366cc86e4f8ff6f00f0b731dc6f78d22c7ac9e0a Mon Sep 17 00:00:00 2001
-From: Claudiu Zissulescu <claziss@synopsys.com>
-Date: Tue, 7 Jul 2015 17:59:52 +0200
-Subject: [PATCH] Differentiate between a bss TLS initialized symbol.
-
-Back-port from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/366cc86e4f8ff6f00f0b731dc6f78d22c7ac9e0a
-
-This patch fixes "undefined reference to .tdata" observed in many autobuilder
-results for ARC.
-
-Once the next release of ARC GNU tools happens this patch must be removed from
-Buildroot.
-
----
- gcc/config/arc/arc.c | 9 +++++++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
-index b6eb3b5..73c3a87 100644
---- a/gcc/config/arc/arc.c
-+++ b/gcc/config/arc/arc.c
-@@ -5262,10 +5262,15 @@ arc_legitimize_tls_address (rtx addr, enum tls_model model)
- {
- case TLS_MODEL_LOCAL_DYNAMIC:
- rtx base;
-- tree base_decl; base_decl
-- = lookup_attribute ("tls9", DECL_ATTRIBUTES (SYMBOL_REF_DECL (addr)));
-+ tree base_decl, decl;
-+ decl = SYMBOL_REF_DECL (addr);
-+ base_decl = lookup_attribute ("tls9", DECL_ATTRIBUTES (decl));
- const char *base_name; base_name = DTPOFF_ZERO_SYM;
- rtvec v;
-+
-+ if (bss_initializer_p (decl))
-+ base_name = ".tbss";
-+
- if (base_decl && TREE_VALUE (base_decl)
- && TREE_VALUE (TREE_VALUE (base_decl)))
- {
---
-2.4.3
-
diff --git a/package/gcc/arc-2015.06/0001-Handle-correctly-compare-arguments.patch b/package/gcc/arc-2015.06/0001-Handle-correctly-compare-arguments.patch
deleted file mode 100644
index b9a60d9c67..0000000000
--- a/package/gcc/arc-2015.06/0001-Handle-correctly-compare-arguments.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From b4035128ba8f8bbbf9527f54f261a87b304ca4c5 Mon Sep 17 00:00:00 2001
-From: Claudiu Zissulescu <claziss@synopsys.com>
-Date: Mon, 9 Nov 2015 15:23:39 +0100
-Subject: [PATCH] Handle correctly compare arguments
-
----
- gcc/config/arc/arc.c | 24 ++++++++++++++++++------
- 1 files changed, 18 insertions(+), 6 deletions(-)
-
-diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
-index bd53525..caf483b 100644
---- a/gcc/config/arc/arc.c
-+++ b/gcc/config/arc/arc.c
-@@ -1998,7 +1998,7 @@ gen_compare_reg (rtx comparison, enum machine_mode omode)
- rtx y = XEXP (comparison, 1);
- rtx tmp, cc_reg;
- enum machine_mode mode, cmode;
--
-+ bool swap = false;
-
- cmode = GET_MODE (x);
- if (cmode == VOIDmode)
-@@ -2073,6 +2073,7 @@ gen_compare_reg (rtx comparison, enum machine_mode omode)
- rtx op0 = gen_rtx_REG (cmode, 0);
- rtx op1 = gen_rtx_REG (cmode, GET_MODE_SIZE (cmode) / UNITS_PER_WORD);
-
-+ swap = false;
- switch (code)
- {
- case NE: case EQ: case GT: case UNLE: case GE: case UNLT:
-@@ -2080,22 +2081,33 @@ gen_compare_reg (rtx comparison, enum machine_mode omode)
- break;
- case LT: case UNGE: case LE: case UNGT:
- code = swap_condition (code);
-- tmp = x;
-- x = y;
-- y = tmp;
-+ swap = true;
- break;
- default:
- gcc_unreachable ();
- }
- if (currently_expanding_to_rtl)
- {
-- emit_move_insn (op0, x);
-- emit_move_insn (op1, y);
-+ if (swap)
-+ {
-+ emit_move_insn (op0, y);
-+ emit_move_insn (op1, x);
-+ }
-+ else
-+ {
-+ emit_move_insn (op0, x);
-+ emit_move_insn (op1, y);
-+ }
- }
- else
- {
- gcc_assert (rtx_equal_p (op0, x));
- gcc_assert (rtx_equal_p (op1, y));
-+ if (swap)
-+ {
-+ op0 = y;
-+ op1 = x;
-+ }
- }
- emit_insn (gen_cmp_float (cc_reg, gen_rtx_COMPARE (mode, op0, op1)));
- }
---
-2.5.0
diff --git a/package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch b/package/gcc/arc-2015.12-rc1/100-libstdcxx-uclibc-c99.patch
index 0d02ef0fb6..0d02ef0fb6 100644
--- a/package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch
+++ b/package/gcc/arc-2015.12-rc1/100-libstdcxx-uclibc-c99.patch
diff --git a/package/gcc/arc-2015.06/851-PR-other-56780.patch b/package/gcc/arc-2015.12-rc1/851-PR-other-56780.patch
index feb433920d..feb433920d 100644
--- a/package/gcc/arc-2015.06/851-PR-other-56780.patch
+++ b/package/gcc/arc-2015.12-rc1/851-PR-other-56780.patch
diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
index 0a05151aed..064a7273c4 100644
--- a/package/gcc/gcc.hash
+++ b/package/gcc/gcc.hash
@@ -9,4 +9,4 @@ sha512 9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a31
# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.3.0/sha512.sum
sha512 d619847383405fd389f5a2d7225f97fedb01f81478dbb8339047ccba7561a5c20045ab500a8744bffd19ea51892ce09fc37f862f2cfcb42de0f0f8cd8f8da37a gcc-5.3.0.tar.bz2
# No hash for the ARC variant, comes from the github-helper:
-none xxx gcc-arc-2015.06.tar.gz
+none xxx gcc-arc-2015.12-rc1.tar.gz
OpenPOWER on IntegriCloud