]> Cypherpunks repositories - gostls13.git/commit
cmd: always allow bigtoc generation with gcc on aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 15:42:11 +0000 (16:42 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 Mar 2019 04:17:56 +0000 (04:17 +0000)
commita891f2e2ae60c1cc740751bcb3427f71c618b9d0
treee3a9b1fff00ebc9709614c3442c7d16a7ccb4b21
parentb6544a2a87b17f552c3ab4f7f0f082e48b56d5fa
cmd: always allow bigtoc generation with gcc on aix/ppc64

-mcmodel=large and -Wl,-bbigtoc must always be passed to gcc in order to
prevent TOC overflow error. However, a warning is still issued by ld. It
is removed as it doesn't give any useful information.

Change-Id: I95a78e8993cc7b5c0f329654d507409785f7eea6
Reviewed-on: https://go-review.googlesource.com/c/go/+/164008
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/cgo/gcc.go
src/cmd/go/internal/work/exec.go
src/cmd/link/internal/ld/lib.go