[PATCH] Set goarch to ppc64le where needed for gccgo testing
Lynn A. Boger
laboger@linux.vnet.ibm.com
Wed Nov 19 15:37:00 GMT 2014
Hi,
This change goes along with the change to the GOARCH setting in gccgo
for ppc64le which will be done in gofrontend. The description for that
change is here:
https://groups.google.com/forum/#!topic/gofrontend-dev/ocEttrpsw-s
This change has been bootstrapped and tested along with the above change
to gofrontend on ppc, ppc64, and ppc64le.
2014-11-19 Lynn Boger <laboger@linux.vnet.ibm.com>
* gcc/testsuite/go.test/go-test.exp: Add case for ppc64le
goarch value for go testing
Index: gcc/testsuite/go.test/go-test.exp
===================================================================
--- gcc/testsuite/go.test/go-test.exp (revision 217507)
+++ gcc/testsuite/go.test/go-test.exp (working copy)
@@ -237,13 +237,15 @@ proc go-set-goarch { } {
return ""
}
}
- "powerpc*-*-*" {
- if [check_effective_target_ilp32] {
- set goarch "ppc"
- } else {
- set goarch "ppc64"
- }
+ "powerpc-*-*" {
+ set goarch "ppc"
}
+ "powerpc64-*-*" {
+ set goarch "ppc64"
+ }
+ "powerpc64le-*-*" {
+ set goarch "ppc64le"
+ }
"s390-*-*" {
set goarch "s390"
}
More information about the Gcc-patches
mailing list