Commit bbfc3ce5 by Ian Lance Taylor Committed by Ian Lance Taylor

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

From-SVN: r264825
parent af8096fc
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> 2018-10-03 Martin Sebor <msebor@redhat.com>
* gcc.dg/warn-sprintf-no-nul.c: New test. * gcc.dg/warn-sprintf-no-nul.c: New test.
......
...@@ -203,6 +203,8 @@ proc go-set-goarch { } { ...@@ -203,6 +203,8 @@ proc go-set-goarch { } {
"x86_64-*-*" { "x86_64-*-*" {
if [check_effective_target_ia32] { if [check_effective_target_ia32] {
set goarch "386" set goarch "386"
} elseif [check_effective_target_x32] {
set goarch "amd64p32"
} else { } else {
set goarch "amd64" set goarch "amd64"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment