]> Cypherpunks repositories - gostls13.git/commit
runtime: define emptyfunc as static function in assembly for freebsd/arm64
authorTobias Klauser <tklauser@distanz.ch>
Fri, 25 Oct 2019 18:48:07 +0000 (20:48 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 25 Oct 2019 20:14:52 +0000 (20:14 +0000)
commit316fb95f4fd94fb00f7746c32ae85a82d5be1b81
tree529cd719514f9a55f351b17002a9f7521d805d77
parent8bb47a5eecf57b88c1b9cc088a21ae869c6a6764
runtime: define emptyfunc as static function in assembly for freebsd/arm64

CL 198544 broke the linux/arm64 build because it declares emptyfunc for
GOARCH=arm64, but only freebsd/arm64 defines it. Make it a static
assembly function specific for freebsd/arm64 and remove the stub.

Fixes #35160

Change-Id: I5fd94249b60c6fd259c251407b6eccc8fa512934
Reviewed-on: https://go-review.googlesource.com/c/go/+/203418
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/runtime/stubs_arm64.go
src/runtime/sys_freebsd_arm64.s