]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: stop Seek file in munmap
authorCherry Zhang <cherryyz@google.com>
Fri, 26 Jun 2020 23:54:00 +0000 (19:54 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 30 Jun 2020 15:55:56 +0000 (15:55 +0000)
commit364d3205045b694a6c89a8d9ad932e7c105d0f6c
tree5028c7aa28c361dc9c9f5699ce856d1a43182049
parentb473a1f8da2998be9dee2b0e59a6854a4955dba1
[dev.link] cmd/link: stop Seek file in munmap

If mmap is used, we don't do file I/O anymore, so no need to Seek
in the file either.

Change-Id: Ic8350eb66404398420df18560f6a7acbb3fcf7e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/240398
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/outbuf_mmap.go