aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/rs6000/t-linux4
-rw-r--r--gcc/config/rs6000/t-spe4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2a76488..6d38560 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2012-12-20 Roland Stigge <stigge@debian.org>
+ Matthias Klose <doko@ubuntu.com>
+
+ * config/rs6000/t-spe (MULTIARCH_DIRNAME): Remove.
+ * config/rs6000/t-linux (MULTIARCH_DIRNAME): Define name for
+ powerpc-linux-gnuspe.
+
2012-12-19 Matthias Klose <doko@ubuntu.com>
* config/i386/t-kfreebsd (MULTIARCH_DIRNAME): Add comma to
diff --git a/gcc/config/rs6000/t-linux b/gcc/config/rs6000/t-linux
index 3611027..017a293 100644
--- a/gcc/config/rs6000/t-linux
+++ b/gcc/config/rs6000/t-linux
@@ -1,5 +1,9 @@
# do not define the multiarch name if configured for a soft-float cpu
# 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)
+else
MULTIARCH_DIRNAME = powerpc-linux-gnu
endif
+endif
diff --git a/gcc/config/rs6000/t-spe b/gcc/config/rs6000/t-spe
index 90eb802..1bed1e3 100644
--- a/gcc/config/rs6000/t-spe
+++ b/gcc/config/rs6000/t-spe
@@ -71,7 +71,3 @@ MULTILIB_EXCEPTIONS = maltivec mabi=altivec mno-spe mabi=no-spe mno-isel \
mabi=altivec/mlittle \
maltivec/mlittle \
maltivec/mabi=altivec/mlittle
-
-ifneq (,$(findstring linux, $(target)))
-MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file)),,v1)
-endif