]> Cypherpunks repositories - gostls13.git/commit
cmd/link: add .go.buildinfo in XCOFF symbol table
authorClément Chigot <clement.chigot@atos.net>
Mon, 29 Apr 2019 14:34:34 +0000 (16:34 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 30 Apr 2019 16:54:38 +0000 (16:54 +0000)
commit0c9e0c257b121acae72b9419be64ce45196ef825
treeeb8790c7d8c236ec75a2dbe7efd224ea32658b7d
parent9f12e2e04bc5fb5c53546cf9c53dabe0d1c8fa55
cmd/link: add .go.buildinfo in XCOFF symbol table

.go.buildinfo must be added to the symbol table on AIX. Otherwise, ld
won't be able to handle its relocations.

This patch also make ".data" the default section for all symbols inside
the data segment.

Change-Id: I83ac2bf1050e0ef6ef9c96ff793efd4ddc8e98d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/174298
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/xcoff.go