mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: remove ABI aliases
It is now gone. Change-Id: I59f68b324af706476695de2f291dd3aa5734e192 Reviewed-on: https://go-review.googlesource.com/c/go/+/351332 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
a630783ba0
commit
55d22f7490
16 changed files with 23 additions and 66 deletions
|
|
@ -173,7 +173,7 @@ func asmb2(ctxt *ld.Link, ldr *loader.Loader) {
|
|||
}
|
||||
wfn.Write(P[off:r.Off()])
|
||||
off = r.Off()
|
||||
rs := ldr.ResolveABIAlias(r.Sym())
|
||||
rs := r.Sym()
|
||||
switch r.Type() {
|
||||
case objabi.R_ADDR:
|
||||
writeSleb128(wfn, ldr.SymValue(rs)+r.Add())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue