Commit 4c1e2375 by Ian Lance Taylor Committed by Ian Lance Taylor

go-test.exp (go-set-goarch): Recognize powerpc*-*-*.

	* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
	(go-gc-tests): Skip nilptr.go on powerpc*-*-*.

From-SVN: r186642
parent d25a12fc
2012-04-20 Ian Lance Taylor <iant@google.com>
* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
(go-gc-tests): Skip nilptr.go on powerpc*-*-*.
2012-04-20 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/x86_64/abi/avx/test_passing_unions.c: Avoid undefined
......
......@@ -217,6 +217,13 @@ proc go-set-goarch { } {
return ""
}
}
"powerpc*-*-*" {
if [check_effective_target_ilp32] {
set goarch "ppc"
} else {
set goarch "ppc64"
}
}
"sparc*-*-*" {
if [check_effective_target_ilp32] {
set goarch "sparc"
......@@ -302,7 +309,7 @@ proc go-gc-tests { } {
}
# Handle certain tests in a target-dependant way.
if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] } {
if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] || [istarget "powerpc*-*-*"] } {
if { [string match "*go.test/test/nilptr.go" $test] } {
untested $test
continue
......
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