]> Cypherpunks repositories - gostls13.git/commit
runtime: remove obsolete osArchInit function
authoraimuz <mr.imuz@gmail.com>
Wed, 3 Sep 2025 14:15:06 +0000 (14:15 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 4 Sep 2025 14:30:42 +0000 (07:30 -0700)
commitb7c20413c5b78b7dfc7f7de52f333a8ca85cd55b
treecdae9c127ee69cda79b5675f543a2ddc0f2abab7
parentdf290384864c0b3cbb557ef11fc95a29d52f6aca
runtime: remove obsolete osArchInit function

The osArchInit function was introduced as a workaround for a Linux kernel bug
that corrupted vector registers on x86 CPUs during signal delivery.
The bug was introduced in Linux 5.2 and fixed in 5.3.15, 5.4.2, and all 5.5 and later kernels.
The fix was also back-ported by major distros.

Change-Id: I59990a7df104843955301c5cb8a547614eba145b
GitHub-Last-Rev: 8425af458bfaad0d64d21ff3f3e0049d186f44ed
GitHub-Pull-Request: golang/go#75246
Reviewed-on: https://go-review.googlesource.com/c/go/+/700555
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/runtime/os_freebsd_riscv64.go [deleted file]
src/runtime/os_linux.go
src/runtime/os_linux_arm.go
src/runtime/os_linux_arm64.go
src/runtime/os_linux_loong64.go
src/runtime/os_linux_mips64x.go
src/runtime/os_linux_mipsx.go
src/runtime/os_linux_ppc64x.go
src/runtime/os_linux_riscv64.go
src/runtime/os_linux_s390x.go
src/runtime/os_linux_x86.go [deleted file]