]> Cypherpunks repositories - gostls13.git/commit
debug/elf: make safe for Go 1.4 compilers
authorRuss Cox <rsc@golang.org>
Thu, 5 Oct 2017 14:06:30 +0000 (10:06 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 5 Oct 2017 17:39:35 +0000 (17:39 +0000)
commitd24a36cc4caf51c88082c9b17201b6088b9bfc86
tree3c064e6084c0cc2c62c20897d2a7d2dc8470bd54
parent8ec188975b5541df3e6b4aae25dadfca20c31d37
debug/elf: make safe for Go 1.4 compilers

We're going to start building cmd/cgo as part of the bootstrap,
and with it debug/elf, so the copy here needs to work with Go 1.4.
It does except for the use of the new io.SeekStart etc constants,
so remove that use.

Change-Id: Ib7fcf46e1e9060f96d2bacaaf349c9b0df347550
Reviewed-on: https://go-review.googlesource.com/68337
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/debug/elf/file.go
src/debug/elf/reader.go