diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-07-30 23:55:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 09:26:16 +0100 |
commit | fd3d11f2bc01391e3c370eec2e08c014d038fba8 (patch) | |
tree | 603c55a1db2e44d71a877a530c54e7da5e1a4f93 /meta/recipes-devtools | |
parent | a9c8767a1707fa6ea40cbba99d4e12160fd91d11 (diff) | |
download | poky-fd3d11f2bc01391e3c370eec2e08c014d038fba8.tar.gz |
gcc: Upgrade 4.9.0 -> 4.9.1
Drop patches which are already available in 4.9.1
(From OE-Core rev: b2ecf4065fa5930b896b8790d153389e400eb0ec)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9.inc | 9 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch | 98 |
2 files changed, 4 insertions, 103 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index 10bd5d54f6..d1be67d39f 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc | |||
@@ -2,11 +2,11 @@ require gcc-common.inc | |||
2 | 2 | ||
3 | # Third digit in PV should be incremented after a minor release | 3 | # Third digit in PV should be incremented after a minor release |
4 | 4 | ||
5 | PV = "4.9.0" | 5 | PV = "4.9.1" |
6 | 6 | ||
7 | # BINV should be incremented to a revision after a minor gcc release | 7 | # BINV should be incremented to a revision after a minor gcc release |
8 | 8 | ||
9 | BINV = "4.9.0" | 9 | BINV = "4.9.1" |
10 | 10 | ||
11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:" | 11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:" |
12 | 12 | ||
@@ -65,12 +65,11 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | |||
65 | file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ | 65 | file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ |
66 | file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ | 66 | file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ |
67 | file://0051-eabispe.patch \ | 67 | file://0051-eabispe.patch \ |
68 | file://0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch \ | ||
69 | file://0053-gcc-fix-segfault-from-calling-free-on-non-malloc-d-a.patch \ | 68 | file://0053-gcc-fix-segfault-from-calling-free-on-non-malloc-d-a.patch \ |
70 | file://0054-gcc-Makefile.in-fix-parallel-building-failure.patch \ | 69 | file://0054-gcc-Makefile.in-fix-parallel-building-failure.patch \ |
71 | " | 70 | " |
72 | SRC_URI[md5sum] = "9709b49ae0e904cbb0a6a1b62853b556" | 71 | SRC_URI[md5sum] = "fddf71348546af523353bd43d34919c1" |
73 | SRC_URI[sha256sum] = "b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257" | 72 | SRC_URI[sha256sum] = "d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e" |
74 | 73 | ||
75 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 74 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
76 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 75 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch deleted file mode 100644 index b4be18e212..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch +++ /dev/null | |||
@@ -1,98 +0,0 @@ | |||
1 | From e44a6d438db4848c2a555be773568a3cf7994206 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexandru-Cezar Sardan <alexandru.sardan-KZfg59tc24xl57MIdRCFDg@public.gmane.org> | ||
3 | Date: Mon, 26 May 2014 12:11:13 +0300 | ||
4 | Subject: [PATCH] Fix E500 with SPE errors with the _Decimal64 type | ||
5 | |||
6 | [gcc] | ||
7 | 2014-04-21 Michael Meissner <meissner-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> | ||
8 | |||
9 | PR target/60735 | ||
10 | * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case): | ||
11 | If mode is DDmode and TARGET_E500_DOUBLE allow move. | ||
12 | |||
13 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some | ||
14 | more debug information for E500 if -mdebug=reg. | ||
15 | |||
16 | [gcc/testsuite] | ||
17 | 2014-04-21 Michael Meissner <meissner-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> | ||
18 | |||
19 | PR target/60735 | ||
20 | * gcc.target/powerpc/pr60735.c: New test. Insure _Decimal64 does | ||
21 | not cause errors if -mspe. | ||
22 | |||
23 | Upstream status: Accepted | ||
24 | |||
25 | This solves upstream bug 60735 | ||
26 | (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60735). | ||
27 | |||
28 | Patch taken from https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=209664 | ||
29 | --- | ||
30 | gcc/config/rs6000/rs6000.c | 18 ++++++++++++++++++ | ||
31 | gcc/config/rs6000/rs6000.md | 3 ++- | ||
32 | gcc/testsuite/gcc.target/powerpc/pr60735.c | 11 +++++++++++ | ||
33 | 3 files changed, 31 insertions(+), 1 deletion(-) | ||
34 | create mode 100644 gcc/testsuite/gcc.target/powerpc/pr60735.c | ||
35 | |||
36 | diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c | ||
37 | index 494efc5..6dcf440 100644 | ||
38 | --- a/gcc/config/rs6000/rs6000.c | ||
39 | +++ b/gcc/config/rs6000/rs6000.c | ||
40 | @@ -2283,6 +2283,24 @@ rs6000_debug_reg_global (void) | ||
41 | if (rs6000_float_gprs) | ||
42 | fprintf (stderr, DEBUG_FMT_S, "float_gprs", "true"); | ||
43 | |||
44 | + fprintf (stderr, DEBUG_FMT_S, "fprs", | ||
45 | + (TARGET_FPRS ? "true" : "false")); | ||
46 | + | ||
47 | + fprintf (stderr, DEBUG_FMT_S, "single_float", | ||
48 | + (TARGET_SINGLE_FLOAT ? "true" : "false")); | ||
49 | + | ||
50 | + fprintf (stderr, DEBUG_FMT_S, "double_float", | ||
51 | + (TARGET_DOUBLE_FLOAT ? "true" : "false")); | ||
52 | + | ||
53 | + fprintf (stderr, DEBUG_FMT_S, "soft_float", | ||
54 | + (TARGET_SOFT_FLOAT ? "true" : "false")); | ||
55 | + | ||
56 | + fprintf (stderr, DEBUG_FMT_S, "e500_single", | ||
57 | + (TARGET_E500_SINGLE ? "true" : "false")); | ||
58 | + | ||
59 | + fprintf (stderr, DEBUG_FMT_S, "e500_double", | ||
60 | + (TARGET_E500_DOUBLE ? "true" : "false")); | ||
61 | + | ||
62 | if (TARGET_LINK_STACK) | ||
63 | fprintf (stderr, DEBUG_FMT_S, "link_stack", "true"); | ||
64 | |||
65 | diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md | ||
66 | index 64c9e7c..9cefe15 100644 | ||
67 | --- a/gcc/config/rs6000/rs6000.md | ||
68 | +++ b/gcc/config/rs6000/rs6000.md | ||
69 | @@ -9395,7 +9395,8 @@ | ||
70 | (match_operand:FMOVE64 1 "input_operand" "r,Y,r,G,H,F"))] | ||
71 | "! TARGET_POWERPC64 | ||
72 | && ((TARGET_FPRS && TARGET_SINGLE_FLOAT) | ||
73 | - || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE) | ||
74 | + || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE | ||
75 | + || (<MODE>mode == DDmode && TARGET_E500_DOUBLE)) | ||
76 | && (gpc_reg_operand (operands[0], <MODE>mode) | ||
77 | || gpc_reg_operand (operands[1], <MODE>mode))" | ||
78 | "#" | ||
79 | diff --git a/gcc/testsuite/gcc.target/powerpc/pr60735.c b/gcc/testsuite/gcc.target/powerpc/pr60735.c | ||
80 | new file mode 100644 | ||
81 | index 0000000..9bac30b | ||
82 | --- /dev/null | ||
83 | +++ b/gcc/testsuite/gcc.target/powerpc/pr60735.c | ||
84 | @@ -0,0 +1,11 @@ | ||
85 | +/* { dg-do compile } */ | ||
86 | +/* { dg-options "-mcpu=8548 -mspe -mabi=spe -O2" } */ | ||
87 | +/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ | ||
88 | + | ||
89 | +/* In PR60735, the type _Decimal64 generated an insn not found message. */ | ||
90 | + | ||
91 | +void | ||
92 | +pr60735 (_Decimal64 *p, _Decimal64 *q) | ||
93 | +{ | ||
94 | + *p = *q; | ||
95 | +} | ||
96 | -- | ||
97 | 1.7.9.5 | ||
98 | |||