mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: remove non-streaming external relocation code
Now we support streaming external relocations everywhere. Change-Id: I8d107c8239fe979bd5410e6a7f3fe471ac3e8b35 Reviewed-on: https://go-review.googlesource.com/c/go/+/244764 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jeremy Faller <jeremy@golang.org>
This commit is contained in:
parent
4c544ddaea
commit
4b3cfcee58
15 changed files with 59 additions and 236 deletions
|
|
@ -212,8 +212,8 @@ type Arch struct {
|
|||
// ELF/Mach-O/etc. relocations, not Go relocations, this must match Elfreloc1,
|
||||
// etc.), and a boolean indicating success/failure (a failing value indicates
|
||||
// a fatal error).
|
||||
Archreloc func(*Target, *loader.Loader, *ArchSyms, loader.Reloc2, *loader.ExtReloc,
|
||||
loader.Sym, int64) (relocatedOffset int64, nExtReloc int, ok bool)
|
||||
Archreloc func(*Target, *loader.Loader, *ArchSyms, loader.Reloc2, loader.Sym,
|
||||
int64) (relocatedOffset int64, nExtReloc int, ok bool)
|
||||
// Archrelocvariant is a second arch-specific hook used for
|
||||
// relocation processing; it handles relocations where r.Type is
|
||||
// insufficient to describe the relocation (r.Variant !=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue