sh-linux fix target cpu

Message ID 20220112090227.907219-1-yo-satoh@sios.com
State New
Headers
Series sh-linux fix target cpu |

Commit Message

Yoshinori Sato Jan. 12, 2022, 9:02 a.m. UTC
  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(-)
  

Comments

Jeff Law Jan. 28, 2022, 10:18 p.m. UTC | #1
On 1/12/2022 2:02 AM, Yoshinori Sato wrote:
> 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.
Thanks.  Technically this is probably too late to make gcc-12 as we're 
in stage4 (regression fixes only).  BUt it was posted during stage3 
(general bugfixing) and is very very low risk.

I went ahead and committed it for you.

Thanks, and sorry for the delays.

jeff
  
Oleg Endo Jan. 31, 2022, 2:05 a.m. UTC | #2
On Fri, 2022-01-28 at 15:18 -0700, Jeff Law via Gcc-patches wrote:
> 
> On 1/12/2022 2:02 AM, Yoshinori Sato wrote:
> > 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.
> Thanks.  Technically this is probably too late to make gcc-12 as we're 
> in stage4 (regression fixes only).  BUt it was posted during stage3 
> (general bugfixing) and is very very low risk.
> 
> I went ahead and committed it for you.
> 
> Thanks, and sorry for the delays.


Thanks, Jeff!

Cheers,
Oleg
  

Patch

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