diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2017-10-11 15:02:32 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-10-11 15:02:32 +0200 |
commit | a1b8ee536a7ab5c8d96ca98894009937a8c01608 (patch) | |
tree | 98e0c2b04cf3e352ea36c2290336f83f05b55b64 /gcc/testsuite/go.test/go-test.exp | |
parent | adbfebe68eb0f236026adb817435ee0a20906b04 (diff) |
Merge branches/gcc-7-branch rev 253626.
Change-Id: If635aa7dbff0d433569bcb961bd02d8e16b894bf
Diffstat (limited to 'gcc/testsuite/go.test/go-test.exp')
-rw-r--r-- | gcc/testsuite/go.test/go-test.exp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index 5f6ef299e55..4b10e4e2d16 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -213,29 +213,27 @@ proc go-set-goarch { } { #error FOO #endif }] { - set goarch "mipso32" + set goarch "mips" } elseif [check_no_compiler_messages mipsn32 assembly { #if _MIPS_SIM != _ABIN32 #error FOO #endif }] { - set goarch "mipsn32" + set goarch "mips64p32" } elseif [check_no_compiler_messages mipsn64 assembly { #if _MIPS_SIM != _ABI64 #error FOO #endif }] { - set goarch "mipsn64" - } elseif [check_no_compiler_messages mipso64 assembly { - #if _MIPS_SIM != _ABIO64 - #error FOO - #endif - }] { - set goarch "mipso64" + set goarch "mips64" } else { perror "$target_triplet: unrecognized MIPS ABI" return "" } + + if [istarget "mips*el-*-*"] { + append goarch "le" + } } "powerpc*-*-*" { if [check_effective_target_ilp32] { |