From: Matthias Klose <doko@ubuntu.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>,
David Edelsohn <dje.gcc@gmail.com>
Cc: Roland Stigge <stigge@debian.org>
Subject: [patch] fix multiarch definition for powerpcspe-linux-gnu
Date: Wed, 19 Dec 2012 16:47:00 -0000 [thread overview]
Message-ID: <50D1EF8D.5050702@ubuntu.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
The definition of the multiarch tuple for powerpcspe-linux-gnu was wrong. The
t-spe fragment isn't included for the powerpc*-linux* case, so move it to
t-linux, and use tm_file_list (tm_file is only used in config.gcc).
Ok for the trunk?
Matthias
[-- Attachment #2: spe.diff --]
[-- Type: text/x-diff, Size: 1226 bytes --]
2012-12-19 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.
Index: config/rs6000/t-spe
===================================================================
--- config/rs6000/t-spe (Revision 194615)
+++ config/rs6000/t-spe (Arbeitskopie)
@@ -71,7 +71,3 @@
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
Index: config/rs6000/t-linux
===================================================================
--- config/rs6000/t-linux (Revision 194615)
+++ config/rs6000/t-linux (Arbeitskopie)
@@ -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
next reply other threads:[~2012-12-19 16:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 16:47 Matthias Klose [this message]
2012-12-20 4:28 ` David Edelsohn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50D1EF8D.5050702@ubuntu.com \
--to=doko@ubuntu.com \
--cc=dje.gcc@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=stigge@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).