]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: use Extname in doxcoff
authorCherry Zhang <cherryyz@google.com>
Sat, 21 Mar 2020 20:06:57 +0000 (16:06 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 24 Mar 2020 16:43:33 +0000 (16:43 +0000)
commitea93ddfaeb2a797717ae6230d1166d842bc44655
treeb99ea35b76bce2d16c019832c86041380d84f5a1
parented7a4919404e56a7e15b029fed12c88f6e02fb43
[dev.link] cmd/link: use Extname in doxcoff

On AIX, when external linking, we need to change the function
names to start with a dot and make function descriptors with the
names without the dot. Currently this is done through symbol
renaming, which is not friendly for switching to the loader.

In this CL we use symbol's external name for this. This allows us
to get rid of symbol renaming.

Change-Id: If72602d17e96f0339fdac2e2321f1edfb292b5f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/224940
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/xcoff.go
src/cmd/link/internal/loader/loader.go
src/cmd/link/internal/sym/symbols.go