]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* go.test/go-test.exp (go-set-goarch): Add case for ppc64le goarch
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Nov 2014 18:25:14 +0000 (18:25 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Nov 2014 18:25:14 +0000 (18:25 +0000)
value for go testing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217942 138bc75d-0d04-0410-961f-82ee72b054a4

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-*-*" {