]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/objabi, cmd/link: add FIPS symbol kinds
authorRuss Cox <rsc@golang.org>
Thu, 31 Oct 2024 14:53:48 +0000 (10:53 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 7 Nov 2024 17:47:38 +0000 (17:47 +0000)
commit43f889b9e5c45ed53af84419380e8cb69db7c103
tree38fbe7e732323c35587dec1632084fb623081e51
parent2e97c30d8d9f5740a503428c09efae7bedb68efb
cmd/internal/objabi, cmd/link: add FIPS symbol kinds

Add FIPS symbol kinds that will be needed for FIPS support.
This is a separate CL to keep the re-generated changes in
the string methods separate from hand-written changes.

The separate symbol kinds will let us group the FIPS-related
code and data together, so that it can be checksummed at
startup, as required by FIPS.

It's also separate because it breaks buildall, by changing the
on-disk symbol kind enumeration. We want non-buildall
changes to be as simple as possible.

For #69536.

Change-Id: I2d5a238498929fff8b24736ee54330c17323bd86
Reviewed-on: https://go-review.googlesource.com/c/go/+/625995
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/objabi/symkind.go
src/cmd/internal/objabi/symkind_string.go
src/cmd/link/internal/sym/symkind.go
src/cmd/link/internal/sym/symkind_string.go