From: Oleg Endo Date: Thu, 26 Mar 2015 07:40:44 +0000 (+0000) Subject: t-linux (DEFAULT_ENDIAN, [...]): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ed7e5f1de47487f3caf1ebc1ad6123d71bff60b;p=gcc.git t-linux (DEFAULT_ENDIAN, [...]): Remove. gcc/ * config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove. * config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian. From-SVN: r221685 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5733d909d9f..3d929047c99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-26 Oleg Endo + + * config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove. + * config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian. + 2015-03-25 Michael Meissner PR target/65569 diff --git a/gcc/config/sh/t-linux b/gcc/config/sh/t-linux index a30ab2e6377..d33c6383915 100644 --- a/gcc/config/sh/t-linux +++ b/gcc/config/sh/t-linux @@ -1,9 +1,2 @@ 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 diff --git a/gcc/config/sh/t-sh b/gcc/config/sh/t-sh index 19e0e4a7df7..9790746c9da 100644 --- a/gcc/config/sh/t-sh +++ b/gcc/config/sh/t-sh @@ -63,8 +63,12 @@ MULTILIB_MATCHES = $(shell \ done \ done) -# SH1 only supports big endian. +# SH1 and SH2A support big endian only. +ifeq ($(DEFAULT_ENDIAN),ml) +MULTILIB_EXCEPTIONS = m1 ml/m1 m2a* ml/m2a* $(TM_MULTILIB_EXCEPTIONS_CONFIG) +else MULTILIB_EXCEPTIONS = ml/m1 ml/m2a* $(TM_MULTILIB_EXCEPTIONS_CONFIG) +endif MULTILIB_OSDIRNAMES = \ $(OTHER_ENDIAN)=!$(OTHER_ENDIAN) \