]> Cypherpunks repositories - gostls13.git/commit
cmd/link: move ELF reader to its own package
authorDavid Crawshaw <crawshaw@golang.org>
Fri, 6 Oct 2017 20:01:02 +0000 (16:01 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 11 Oct 2017 20:53:39 +0000 (20:53 +0000)
commitecfa7375e40e3586afbac0ec6f3f9383124b25bc
tree58df05ad74d9e5038cbe5b36735cc5b1e7370dc8
parent70576947fdc74261577bfeeb0c5c03d2afffd4f0
cmd/link: move ELF reader to its own package

Along the way, switch to using relocation constants from debug/elf.

For #22095

Change-Id: I1a64353619f95dde5aa39060c4b9d001af7dc1e4
Reviewed-on: https://go-review.googlesource.com/69013
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
13 files changed:
src/cmd/dist/buildtool.go
src/cmd/link/internal/amd64/asm.go
src/cmd/link/internal/arm/asm.go
src/cmd/link/internal/arm64/asm.go
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/util.go
src/cmd/link/internal/loadelf/ldelf.go [moved from src/cmd/link/internal/ld/ldelf.go with 75% similarity]
src/cmd/link/internal/mips/asm.go
src/cmd/link/internal/mips64/asm.go
src/cmd/link/internal/ppc64/asm.go
src/cmd/link/internal/s390x/asm.go
src/cmd/link/internal/x86/asm.go