From 711d91e13f68b63402bbce1fe1fc6656cdf912fd Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Tue, 10 Mar 2015 08:14:19 +0900 Subject: [PATCH] t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases. * config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases. Co-Authored-By: Kaz Kojima From-SVN: r221287 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/t-linux | 7 +++++++ 2 files changed, 12 insertions(+) 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 + Kaz Kojima + + * config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases. + 2015-03-09 Jakub Jelinek 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 -- 2.30.2