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:
Josh Bleecher Snyder 2016-03-13 14:24:22 -07:00
parent 7c18f8cdc3
commit 4f753e77f1
9 changed files with 21 additions and 81 deletions

View file

@ -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 {