]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: update cgo_import_dynamic for AIX
authorClément Chigot <clement.chigot@atos.net>
Fri, 2 Nov 2018 12:14:07 +0000 (13:14 +0100)
committerIan Lance Taylor <iant@golang.org>
Tue, 6 Nov 2018 13:52:48 +0000 (13:52 +0000)
commite1978a2d7a6deac29aa778a17a1cbea25586abc6
tree47e93e1a48959e003806c01ee2b4d9ded8e5b8cd
parent0e4a0b93d25f56eda3b6026a98bdee4cf6fc7b8f
cmd/compile/internal/gc: update cgo_import_dynamic for AIX

On AIX, cmd/link needs two information in order to generate a dynamic
import, the library and its object needed. Currently, cmd/link isn't
able to retrieve this object only with the name of the library.
Therefore, the library pattern in cgo_import_dynamic must be
"lib.a/obj.o".

Change-Id: Ib8b8aaa9807c9fa6af46ece4e312d58073ed6ec1
Reviewed-on: https://go-review.googlesource.com/c/146957
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/doc.go
src/cmd/compile/internal/gc/lex.go
src/cmd/compile/internal/gc/lex_test.go