gcc/
* config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove.
* config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian.
From-SVN: r221685
+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
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
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) \