diff options
Diffstat (limited to 'src/cmd/link/internal/ld/outbuf_nofallocate.go')
-rw-r--r-- | src/cmd/link/internal/ld/outbuf_nofallocate.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/link/internal/ld/outbuf_nofallocate.go b/src/cmd/link/internal/ld/outbuf_nofallocate.go new file mode 100644 index 0000000..6bf96bc --- /dev/null +++ b/src/cmd/link/internal/ld/outbuf_nofallocate.go @@ -0,0 +1,11 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build !darwin,!linux + +package ld + +func (out *OutBuf) fallocate(size uint64) error { + return errNoFallocate +} |