* go.test/go-test.exp (go-set-goarch): Use amd64p32 on x32.

From-SVN: r264825
This commit is contained in:
Ian Lance Taylor
2018-10-03 21:03:50 +00:00
committed by Ian Lance Taylor
parent af8096fc2b
commit bbfc3ce55f
2 changed files with 6 additions and 0 deletions

View 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.

View 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"
}