]> Cypherpunks repositories - gostls13.git/commit
cmd/link: don't export all symbols for ELF external linking
authorIan Lance Taylor <iant@golang.org>
Mon, 27 Jun 2022 21:58:58 +0000 (14:58 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 25 Jan 2023 20:45:42 +0000 (20:45 +0000)
commit1f29f39795e736238200840c368c4e0c6edbfbae
treec454f01c312305b67e45d3104327c8dc75bbda8e
parent2bf0f54bbd6dfa57fc11444f9b8ba722689e6490
cmd/link: don't export all symbols for ELF external linking

Since this may add a large number of --export-dynamic-symbol options,
use a response file if the command line gets large.

Fixes #53579

Change-Id: Ic226bf372bf1e177a3dae886d1c48f4ce3569c0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/414654
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/loader/loader.go
src/cmd/link/link_test.go