aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2013-06-12 13:56:16 +0000
committerMatthias Klose <doko@gcc.gnu.org>2013-06-12 13:56:16 +0000
commitcddd69eb6d95094c00792899f59ca3d9381b2254 (patch)
treeb17036cd3982150c621c1db65307b039ebd8f560
parentbb8f32389c6eb58de4742e6249f1d7fae787ae46 (diff)
downloadgcc-cddd69eb6d95094c00792899f59ca3d9381b2254.zip
gcc-cddd69eb6d95094c00792899f59ca3d9381b2254.tar.gz
gcc-cddd69eb6d95094c00792899f59ca3d9381b2254.tar.bz2
re PR target/57578 (SPE detection broken on Linux (bits/predefs.h: No such file or directory))
2013-06-12 Roland Stigge <stigge@antcom.de> PR target/57578 * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection. From-SVN: r200012
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/t-linux2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5eb9606..99e8f50 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-12 Roland Stigge <stigge@antcom.de>
+
+ PR target/57578
+ * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection.
+
2013-06-12 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/57537
diff --git a/gcc/config/rs6000/t-linux b/gcc/config/rs6000/t-linux
index 017a293..62a5b94 100644
--- a/gcc/config/rs6000/t-linux
+++ b/gcc/config/rs6000/t-linux
@@ -2,7 +2,7 @@
# or soft-float.
ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
ifneq (,$(findstring spe,$(target)))
-MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file_list)),,v1)
+MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring 8548,$(with_cpu)),,v1)
else
MULTIARCH_DIRNAME = powerpc-linux-gnu
endif