Bootstrap failed in following configuration.

configure --target=sh-unknown-linux --enable-languages=c --disable-libatomic 
--disable-threads --disable-shared --disable-libssp --disable-libquadmath 
--disable-libgomp

xgcc: error: SH2a does not support little-endian

So add build exception for SH2A.

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ce183a0..1fb2344 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-08  Yoshinori Sato <ys...@users.sourceforge.jp>
+
+       * config/sh/t-linux: Add exception for SH2A.
+
 2015-03-05  Jan Hubicka  <hubi...@ucw.cz>
 
        PR ipa/65316
diff --git a/gcc/config/sh/t-linux b/gcc/config/sh/t-linux
index d33c638..22b8e3e 100644
--- a/gcc/config/sh/t-linux
+++ b/gcc/config/sh/t-linux
@@ -1,2 +1,3 @@
 MULTILIB_DIRNAMES= 
-MULTILIB_MATCHES = 
+MULTILIB_MATCHES =
+MULTILIB_EXCEPTIONS = m2a m2a/ml

-- 
Yoshinori Sato
<ys...@users.sourceforge.jp>

Reply via email to