]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: unconditionally use posix_fallocate on FreeBSD
authorTobias Klauser <tklauser@distanz.ch>
Thu, 28 Aug 2025 12:37:04 +0000 (14:37 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 5 Sep 2025 13:41:24 +0000 (06:41 -0700)
commitd52a56cce1cc78eeff753d952d7abfc109f78ead
tree4da8c043a4f3365a4f5ffaf63128a9d07443448c
parent9d0829963ccab19093c37f21cfc35d019addc78a
cmd/link/internal/ld: unconditionally use posix_fallocate on FreeBSD

Now that Go 1.24 is the minimum bootstrap toolchain we can drop the
version dependent use of posix_fallocate on FreeBSD.

For #69315

Change-Id: Ie0c7ca67e3c21138d690e1e11a12172d52619493
Reviewed-on: https://go-review.googlesource.com/c/go/+/699735
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/link/internal/ld/fallocate_test.go
src/cmd/link/internal/ld/outbuf_bsd.go
src/cmd/link/internal/ld/outbuf_nofallocate.go