aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-03-13 15:44:00 -0700
committerMatthew Dempsky <mdempsky@google.com>2016-03-14 05:13:47 +0000
commit2dcbbbd193bf604570ecdfe4f696f32da95e7ffe (patch)
tree3f18677ae12805febd10a02c9461507d2b5f4b4d /src/cmd/internal/obj
parentedde955d7fe610c2b0250efff548b89e22493349 (diff)
downloadgo-2dcbbbd193bf604570ecdfe4f696f32da95e7ffe.tar.xz
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>
Diffstat (limited to 'src/cmd/internal/obj')
-rw-r--r--src/cmd/internal/obj/link.go1
-rw-r--r--src/cmd/internal/obj/util.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/link.go b/src/cmd/internal/obj/link.go
index cfd4c73675..430fab3b3e 100644
--- a/src/cmd/internal/obj/link.go
+++ b/src/cmd/internal/obj/link.go
@@ -266,7 +266,6 @@ const (
AXXX As = iota
ACALL
ACHECKNIL
- ADATA // used only by the assembler for parsing
ADUFFCOPY
ADUFFZERO
AEND
diff --git a/src/cmd/internal/obj/util.go b/src/cmd/internal/obj/util.go
index 05cfd8c720..18450962ed 100644
--- a/src/cmd/internal/obj/util.go
+++ b/src/cmd/internal/obj/util.go
@@ -603,7 +603,6 @@ var Anames = []string{
"XXX",
"CALL",
"CHECKNIL",
- "DATA",
"DUFFCOPY",
"DUFFZERO",
"END",