]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: convert ELF host object loading to new loader
authorThan McIntosh <thanm@google.com>
Sat, 7 Dec 2019 01:11:36 +0000 (20:11 -0500)
committerThan McIntosh <thanm@google.com>
Thu, 9 Jan 2020 20:48:48 +0000 (20:48 +0000)
commitfa284af7201c5ce246bd5fcac485a5445717c452
tree59e8832726183e6b1f36fbaa07f8a66ac6692a4a
parent161e0a54978549a61e96673c89bfe212347f5857
[dev.link] cmd/link: convert ELF host object loading to new loader

This is a rewrite of the ELF host object loader to use just the Loader
interfaces for symbol creation, without constructing sym.Symbols. At
the moment this is gated under the temporary linker command line
option "-newldelf".  This version is able to get through all.bash
on linux/amd64.

Change-Id: I99f41368f75b0df9e35ef3c2cf2a702b732540c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/210779
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/dist/buildtool.go
src/cmd/link/internal/ld/ar.go
src/cmd/link/internal/ld/go.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/link.go
src/cmd/link/internal/ld/main.go
src/cmd/link/internal/loadelf/ldelf.go
src/cmd/link/internal/loadelfold/ldelf.go [new file with mode: 0644]
src/cmd/link/internal/loader/loader.go