]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime/race: use internal linking mode for amd64 subarch packages
authorFlorian Zenker <floriank@google.com>
Fri, 30 Sep 2022 14:25:29 +0000 (14:25 +0000)
committerThan McIntosh <thanm@google.com>
Tue, 4 Oct 2022 15:03:23 +0000 (15:03 +0000)
CL 424034 introduced two new packages that trigger external
linking mode where internal linking mode is sufficient.

Change-Id: I81583210331fe4151d631b5efd7fc5d3c8f11f39
Reviewed-on: https://go-review.googlesource.com/c/go/+/435256
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/cmd/link/internal/ld/lib.go

index fa2ee676a938c5a16690d69fb26312516c19b937..d971234d878b373bb99adfdc33c18dfe6e1fd334 100644 (file)
@@ -1081,6 +1081,8 @@ var internalpkg = []string{
        "os/user",
        "runtime/cgo",
        "runtime/race",
+       "runtime/race/internal/amd64v1",
+       "runtime/race/internal/amd64v3",
        "runtime/msan",
        "runtime/asan",
 }