mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/all: stop generating ADATA Progs
The only remaining place that generated ADATA Prog was the assembler. Stop, and delete some now-dead code. Passes toolstash -cmp. Change-Id: I26578ff1b4868e98562b44f69d909c083e96f8d5 Reviewed-on: https://go-review.googlesource.com/20646 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
7c18f8cdc3
commit
4f753e77f1
9 changed files with 21 additions and 81 deletions
|
|
@ -200,10 +200,6 @@ func flushplist(ctxt *Link, freeProgs bool) {
|
|||
ctxt.Edata = s
|
||||
continue
|
||||
|
||||
case ADATA:
|
||||
savedata(ctxt, p)
|
||||
continue
|
||||
|
||||
case ATEXT:
|
||||
s := p.From.Sym
|
||||
if s == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue