summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-09 23:14:19 +0000
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-09 23:14:19 +0000
commitc7c9d885bcfb4821ef1b711e3fec08f0bceacf55 (patch)
tree53ad7c554d98ef1c462c3eced248f08f6058dba4
parent90fa3a2bf64f42764ae1eb924ce0b46e75c29df6 (diff)
downloadgcc-c7c9d885bcfb4821ef1b711e3fec08f0bceacf55.tar.gz
* config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221287 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/t-linux7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 968cb9037d7..c31dbddd215 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-09 Yoshinori Sato <ysato@users.sourceforge.jp>
+ Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases.
+
2015-03-09 Jakub Jelinek <jakub@redhat.com>
PR lto/65361
diff --git a/gcc/config/sh/t-linux b/gcc/config/sh/t-linux
index d33c6383915..a30ab2e6377 100644
--- a/gcc/config/sh/t-linux
+++ b/gcc/config/sh/t-linux
@@ -1,2 +1,9 @@
MULTILIB_DIRNAMES=
MULTILIB_MATCHES =
+
+DEFAULT_ENDIAN = $(word 1,$(TM_ENDIAN_CONFIG))
+ifeq ($(DEFAULT_ENDIAN),ml)
+MULTILIB_EXCEPTIONS = m2a m2a/ml
+else
+MULTILIB_EXCEPTIONS = ml/m2a
+endif