* go.test/go-test.exp (go-set-goarch): Use amd64p32 on x32.
authorIan Lance Taylor <iant@google.com>
Wed, 3 Oct 2018 21:03:50 +0000 (21:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 3 Oct 2018 21:03:50 +0000 (21:03 +0000)
From-SVN: r264825

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

index c06842d0f4f54c9aab5425e0372a36fb7485cd92..14d24f05850765fc9323f9f5d90d235d124ad046 100644 (file)
@@ -1,3 +1,7 @@
+2018-10-03  Ian Lance Taylor  <iant@google.com>
+
+       * go.test/go-test.exp (go-set-goarch): Use amd64p32 on x32.
+
 2018-10-03  Martin Sebor  <msebor@redhat.com>
 
        * gcc.dg/warn-sprintf-no-nul.c: New test.
index cab0d0e2fbb770ad5cf26cef600dbd9bda62e82c..db3940777fd915bd1b354e941b743ed4a8d23198 100644 (file)
@@ -203,6 +203,8 @@ proc go-set-goarch { } {
        "x86_64-*-*" {
            if [check_effective_target_ia32] {
                set goarch "386"
+           } elseif [check_effective_target_x32] {
+               set goarch "amd64p32"
            } else {
                set goarch "amd64"
            }