]> Cypherpunks repositories - gostls13.git/commit
cmd/link: replace function pointers to static calls in loadelf
authorCherry Mui <cherryyz@google.com>
Thu, 15 Feb 2024 22:05:05 +0000 (17:05 -0500)
committerCherry Mui <cherryyz@google.com>
Fri, 16 Feb 2024 15:12:12 +0000 (15:12 +0000)
commit3b51581261704bfc3e6feeb29b6d2588b163777d
tree90b514fe3e2cf9bed537256b3f78d6416eef9630
parent5258d4ed60ffe272fe51d7793c4ca6f8cc054299
cmd/link: replace function pointers to static calls in loadelf

When transitioning between the old object loader and the new
object loader, to support both we made loadelf to take symbol
loading functions as function pointers. Now we only have the new
object loader. Change the function pointers back to static calls.

Change-Id: Ia623a6010376a3d7c0be5eacae002144d956f28a
Reviewed-on: https://go-review.googlesource.com/c/go/+/564635
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/link/internal/loadelf/ldelf.go