diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2016-07-15 15:22:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 15:27:03 +0100 |
commit | 28344dfed463c8c7149c36b4abc5fa66a36ba9e9 (patch) | |
tree | 8bc5b22971050f4c54152a5b6cdf10ba9923d382 | |
parent | 8c69f7d56cbd496aa01ba0738675a170826a536b (diff) | |
download | poky-28344dfed463c8c7149c36b4abc5fa66a36ba9e9.tar.gz |
gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
This ports the missing changes from commit: 7a51776a830167e43cbd185505f62f328704e271
from 5.3 to 4.9 so that qemuppc can be compiled.
(From OE-Core rev: e625a25c473948d8c97eae5be9914f608f6a95bf)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch index b98f8ff01d..77fa18aac5 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch +++ b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | |||
@@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644 | |||
37 | extra_options="${extra_options} rs6000/sysv4.opt" | 37 | extra_options="${extra_options} rs6000/sysv4.opt" |
38 | tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" | 38 | tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" |
39 | case ${target} in | 39 | case ${target} in |
40 | Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h | ||
41 | =================================================================== | ||
42 | --- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h | ||
43 | +++ gcc-4.9.3/gcc/config/rs6000/linuxspe.h | ||
44 | @@ -27,6 +27,3 @@ | ||
45 | #undef TARGET_DEFAULT | ||
46 | #define TARGET_DEFAULT MASK_STRICT_ALIGN | ||
47 | #endif | ||
48 | - | ||
49 | -#undef ASM_DEFAULT_SPEC | ||
50 | -#define ASM_DEFAULT_SPEC "-mppc -mspe -me500" | ||
40 | -- | 51 | -- |
41 | 1.7.9.5 | 52 | 1.7.9.5 |
42 | 53 | ||