]> Cypherpunks repositories - gostls13.git/commit
cmd/link: set correct sizes for XCOFF outer symbols
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 14:54:11 +0000 (15:54 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 27 Feb 2019 23:24:03 +0000 (23:24 +0000)
commitd3631955d454a8cfc0b63065ef1cc4c8db64ae46
tree0bca61809ca902653cb6b2afe4f243c848f70db4
parent2deda8792a1f0139eba0bee527f3141659491444
cmd/link: set correct sizes for XCOFF outer symbols

This commit fixes the size of outer symbols like type.*.
Outer symbols cannot have a nil size on AIX or they will be
removed by ld as long as all their sub-symbols.

Change-Id: I68ff3ce5a3a034e3c3eb23431aba31245073cf20
Reviewed-on: https://go-review.googlesource.com/c/163999
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/link/internal/ld/data.go
src/cmd/link/internal/ld/xcoff.go