[PATCH] sh-linux fix target cpu
Yoshinori Sato
yo-satoh@sios.com
Wed Jan 12 09:02:27 GMT 2022
sh-linux not supported any SH1 and SH2a little-endian.
Add exceptios it.
gcc/ChangeLog:
* config/sh/t-linux (MULTILIB_EXCEPTIONS): Add m1, mb/m1 and m2a.
---
gcc/config/sh/t-linux | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/config/sh/t-linux b/gcc/config/sh/t-linux
index d33c6383915..ca323ca25a9 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=m1 mb/m1 m2a
--
2.30.2
More information about the Gcc-patches
mailing list