go-test.exp (go-set-goarch): Add case for ppc64le goarch value for go testing.
authorLynn Boger <laboger@linux.vnet.ibm.com>
Fri, 21 Nov 2014 18:25:14 +0000 (12:25 -0600)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 21 Nov 2014 18:25:14 +0000 (18:25 +0000)
* go.test/go-test.exp (go-set-goarch): Add case for ppc64le goarch
value for go testing.

From-SVN: r217942

gcc/testsuite/ChangeLog
gcc/testsuite/go.test/go-test.exp

index 9d6643bac2b6a80292bc0972d09f045c9d03d22f..fd91a5c64f707e68c5277694d544990161640be4 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-21  Lynn Boger  <laboger@linux.vnet.ibm.com>
+
+       * go.test/go-test.exp (go-set-goarch): Add case for ppc64le goarch
+       value for go testing.
+
 2014-11-21  Jiong Wang  <jiong.wang@arm.com>
 
        * gcc.target/aarch64/vect_ctz_1.c: New testcase.
index 25e405be5e5a6470eec65696f879b1c2399f5940..75dad8f6f78dc01bdd44ffc8536051c2cb4a1a98 100644 (file)
@@ -241,7 +241,11 @@ proc go-set-goarch { } {
            if [check_effective_target_ilp32] {
                set goarch "ppc"
            } else {
-               set goarch "ppc64"
+               if [istarget "powerpc64le-*-*"] {
+                   set goarch "ppc64le"
+               } else {
+                   set goarch "ppc64"
+               }
            }
        }
        "s390-*-*" {