t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases.
authorYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 9 Mar 2015 23:14:19 +0000 (08:14 +0900)
committerKaz Kojima <kkojima@gcc.gnu.org>
Mon, 9 Mar 2015 23:14:19 +0000 (23:14 +0000)
* config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases.

Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org>
From-SVN: r221287

gcc/ChangeLog
gcc/config/sh/t-linux

index 968cb9037d73446ae7ff7e1b27d83126b6d05171..c31dbddd215bc819532710b6a7fab8bf865cabef 100644 (file)
@@ -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
index d33c63839151af39582b560ff820196bff692f41..a30ab2e637705e34f0be84e15fad8fa35e3a84f6 100644 (file)
@@ -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