From: Ian Lance Taylor
Date: Wed, 11 Aug 2021 16:10:55 +0000 (-0700)
Subject: doc/go1.17: linker passes -I to extld as -Wl,--dynamic-linker
X-Git-Tag: go1.17~4^2~4
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d4c0ed26ace91cb21fc0a67f088648674052aa3d;p=gostls13.git
doc/go1.17: linker passes -I to extld as -Wl,--dynamic-linker
For #22446
Change-Id: I71a30761a28e81c50b7089d5a28be99c736c2dc8
Reviewed-on: https://go-review.googlesource.com/c/go/+/341332
Trust: Ian Lance Taylor
Run-TryBot: Ian Lance Taylor
Reviewed-by: Heschi Kreinick
TryBot-Result: Go Bot
---
diff --git a/doc/go1.17.html b/doc/go1.17.html
index d469f400ad..972f9c3559 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -488,6 +488,15 @@ func Foo() bool {
and compare functions by code pointer.
+Linker
+
+
+ When the linker uses external linking mode, which is the default
+ when linking a program that uses cgo, and the linker is invoked
+ with a -I
option, the option will now be passed to the
+ external linker as a -Wl,--dynamic-linker
option.
+
+
Core library