cmd/internal/obj, cmd/asm: get rid of obj.ADATA

Just recognize "DATA" as a special pseudo op word in the assembler
directly.

Change-Id: I508e111fd71f561efa600ad69567a7089a57adb2
Reviewed-on: https://go-review.googlesource.com/20648
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
Matthew Dempsky 2016-03-13 15:44:00 -07:00
parent edde955d7f
commit 2dcbbbd193
5 changed files with 15 additions and 29 deletions

View file

@ -266,7 +266,6 @@ const (
AXXX As = iota
ACALL
ACHECKNIL
ADATA // used only by the assembler for parsing
ADUFFCOPY
ADUFFZERO
AEND