]> Cypherpunks repositories - gostls13.git/commit
runtime: restore cgo_import_dynamic for libc.so on openbsd
authorJoel Sing <joel@sing.id.au>
Fri, 22 Jan 2021 19:18:30 +0000 (06:18 +1100)
committerJoel Sing <joel@sing.id.au>
Sat, 23 Jan 2021 03:19:29 +0000 (03:19 +0000)
commit66ee8b158f0a9e9fdc6cc2118926cb4bea497128
tree8f17bb23b73be35aa88143ec3b6e61da4f4cff44
parent25c39e4fb5e5fc7c3840228158cd6f2345c9dc07
runtime: restore cgo_import_dynamic for libc.so on openbsd

This was removed in change 285692, however we need to explicitly pull libc.so
in when libpthread.so is being used. The current code works on openbsd/amd64
since we pull libc.so in via runtime/sys_openbsd2.go, however openbsd/arm64
does not do this currently.

Change-Id: Ibe93d936a22e69e2fe12620f6d27ccca7a91dba5
Reviewed-on: https://go-review.googlesource.com/c/go/+/285912
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/sys_openbsd.go