]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: try libssp_nonshared.a when looking for "__stack_chk_fail_local"
authorThan McIntosh <thanm@google.com>
Thu, 9 Feb 2023 16:37:13 +0000 (11:37 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 10 Feb 2023 14:49:35 +0000 (14:49 +0000)
commitc3d3be10665f1037360600a79c0354f6580e6290
tree10c7aa5fd336fa64d7d34b0fbc5f5aa0e197e258
parent48f4728211c1c4299728b6b3a04a6ddf997d9ec6
cmd/link: try libssp_nonshared.a when looking for "__stack_chk_fail_local"

Update the code that tries to satisfy unresolved references to
"__stack_chk_fail_local" to look for "libssp_nonshared.a" in addition
to "libc_nonshared.a" (the former archive is the correct place on
Alpine).

Updates #52919.
Updates #54313.
Updates #57261.
Fixes #58385.

Change-Id: Id6cd3ebb4d5388df50a838e6efa5e5b683545b01
Reviewed-on: https://go-review.googlesource.com/c/go/+/466936
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go