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
This commit is contained in:
Oleg Endo 2015-03-26 07:40:44 +00:00
parent ee8c0889cd
commit 8ed7e5f1de
3 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2015-03-26 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove.
* config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian.
2015-03-25 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/65569

View File

@ -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

View File

@ -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) \