commit | d887d3be5f8f143f2475ddb2ea6c48ceb32def17 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Mon Oct 11 09:32:52 2021 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Tue Oct 12 06:55:50 2021 +0000 |
tree | 66f9d5dac3be8072b8fa75dd5e1fcdfda00059a6 | |
parent | 6372e7efbab5a613b73271938acbd1c6f558814e [diff] |
cmd/link/internal/ld: use libc based fcntl for (*OutBuf).fallocate on darwin Direct syscalls are no longer supported on darwin. Instead, use libc fcntl go:linkname'd from the syscall package. Change-Id: Ieeec64810452455faedd200f661a8b5839ca1fa0 Reviewed-on: https://go-review.googlesource.com/c/go/+/255260 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://golang.org/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.