Commit fb68f296 by James Cowgill Committed by Ian Lance Taylor

go-test.exp (go-set-goarch): Update MIPS architecture names.

	* go.test/go-test.exp (go-set-goarch): Update MIPS architecture
        names.

From-SVN: r249589
parent 08f42414
2017-06-23 James Cowgill <James.Cowgill@imgtec.com>
* go.test/go-test.exp (go-set-goarch): Update MIPS architecture
names.
2017-06-22 Matt Turner <mattst88@gmail.com> 2017-06-22 Matt Turner <mattst88@gmail.com>
* gcc.target/i386/builtin_target.c: Add Kaby Lake models to * gcc.target/i386/builtin_target.c: Add Kaby Lake models to
......
...@@ -213,29 +213,27 @@ proc go-set-goarch { } { ...@@ -213,29 +213,27 @@ proc go-set-goarch { } {
#error FOO #error FOO
#endif #endif
}] { }] {
set goarch "mipso32" set goarch "mips"
} elseif [check_no_compiler_messages mipsn32 assembly { } elseif [check_no_compiler_messages mipsn32 assembly {
#if _MIPS_SIM != _ABIN32 #if _MIPS_SIM != _ABIN32
#error FOO #error FOO
#endif #endif
}] { }] {
set goarch "mipsn32" set goarch "mips64p32"
} elseif [check_no_compiler_messages mipsn64 assembly { } elseif [check_no_compiler_messages mipsn64 assembly {
#if _MIPS_SIM != _ABI64 #if _MIPS_SIM != _ABI64
#error FOO #error FOO
#endif #endif
}] { }] {
set goarch "mipsn64" set goarch "mips64"
} elseif [check_no_compiler_messages mipso64 assembly {
#if _MIPS_SIM != _ABIO64
#error FOO
#endif
}] {
set goarch "mipso64"
} else { } else {
perror "$target_triplet: unrecognized MIPS ABI" perror "$target_triplet: unrecognized MIPS ABI"
return "" return ""
} }
if [istarget "mips*el-*-*"] {
append goarch "le"
}
} }
"powerpc*-*-*" { "powerpc*-*-*" {
if [check_effective_target_ilp32] { if [check_effective_target_ilp32] {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment