aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/nm
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2017-09-26 06:55:49 -0700
committerIan Lance Taylor <iant@golang.org>2017-09-26 15:06:32 +0000
commitc99cfd93a86dc76ff276b13211ef65ab2752bfc7 (patch)
tree4731012e344dc852e4108fc6542b9650ea52621c /src/cmd/nm
parent3fda3765b8691de51d62ef6d68ce772f4eb0c601 (diff)
downloadgo-c99cfd93a86dc76ff276b13211ef65ab2752bfc7.tar.gz
go-c99cfd93a86dc76ff276b13211ef65ab2752bfc7.zip
cmd/link: don't use internal linking mode for cgo on PPC64
The internal linker doesn't know how to handle multiple TOC sections in internal linking mode. This used to work because before CL 64793 we invoked ld -r on multiple objects, and that merged the TOC sections for us. Updates #21961 Change-Id: I48260a7195be660016f2f358ebc8cb79652210ab Reviewed-on: https://go-review.googlesource.com/66270 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/nm')
-rw-r--r--src/cmd/nm/nm_cgo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/nm/nm_cgo_test.go b/src/cmd/nm/nm_cgo_test.go
index 4e67560e2e..b32402069a 100644
--- a/src/cmd/nm/nm_cgo_test.go
+++ b/src/cmd/nm/nm_cgo_test.go
@@ -17,7 +17,7 @@ func canInternalLink() bool {
return false
case "linux":
switch runtime.GOARCH {
- case "arm64", "mips64", "mips64le", "mips", "mipsle":
+ case "arm64", "mips64", "mips64le", "mips", "mipsle", "ppc64", "ppc64le":
return false
}
}