From bbfc3ce55ff26384400c1eb122dbbe5bb6f84866 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 3 Oct 2018 21:03:50 +0000 Subject: [PATCH] * go.test/go-test.exp (go-set-goarch): Use amd64p32 on x32. From-SVN: r264825 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/go.test/go-test.exp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c06842d0f4f..14d24f05850 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-10-03 Ian Lance Taylor + + * go.test/go-test.exp (go-set-goarch): Use amd64p32 on x32. + 2018-10-03 Martin Sebor * gcc.dg/warn-sprintf-no-nul.c: New test. diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index cab0d0e2fbb..db3940777fd 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -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" } -- 2.30.2