]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: suppress -bind_at_load deprecation warning for ld-prime
authorCherry Mui <cherryyz@google.com>
Mon, 10 Jul 2023 22:50:06 +0000 (18:50 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 16 Aug 2023 18:42:08 +0000 (18:42 +0000)
commit040dbf9c181a0e3ea9f7bd3ebe3f75acdc878aaf
tree641622c54a40904e439d1fb82013e080b3db9578
parent91bea5a21dc1a951a7fbe491a6da07b664c5a167
cmd/link: suppress -bind_at_load deprecation warning for ld-prime

ld-prime emits a deprecation warning for -bind_at_load. The flag
is needed for plugins to not deadlock (#38824) when linking with
older darwin linker. It is supposedly not needed with newer linker
when chained fixups are used. For now, we always pass it, and
suppress the warning.

For #61229.

Change-Id: I4b8a6f864a460c40dc38adbb533f664f7fd5343c
Reviewed-on: https://go-review.googlesource.com/c/go/+/508696
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
src/cmd/link/internal/ld/lib.go