aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/arm64
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-01-05 09:48:45 -0500
committerRuss Cox <rsc@golang.org>2016-01-24 05:00:04 +0000
commita5ba581ae05a857a7828c5a883fab0d73a89f26d (patch)
tree9d89510a93953598793c8c15434dc125106cb89b /src/cmd/internal/obj/arm64
parente8b53c92b8086af8c5f279c795951a9aa1a14d58 (diff)
downloadgo-a5ba581ae05a857a7828c5a883fab0d73a89f26d.tar.xz
cmd/asm: simplify golden test maintenance
Instead of two parallel files that look almost identical, mark the expected differences in the original file. The annotations being added here keep the tests passing, but they also make clear a number of printing or parsing errors that were not as easily seen when the data was split across two files. Fix a few diagnostic problems in cmd/internal/obj as well. A step toward #13822. Change-Id: I997172681ea6fa7da915ff0f0ab93d2b76f8dce2 Reviewed-on: https://go-review.googlesource.com/18823 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/arm64')
-rw-r--r--src/cmd/internal/obj/arm64/a.out.go7
-rw-r--r--src/cmd/internal/obj/arm64/anames.go7
2 files changed, 0 insertions, 14 deletions
diff --git a/src/cmd/internal/obj/arm64/a.out.go b/src/cmd/internal/obj/arm64/a.out.go
index d3e1e5ecbb..f459483cce 100644
--- a/src/cmd/internal/obj/arm64/a.out.go
+++ b/src/cmd/internal/obj/arm64/a.out.go
@@ -655,15 +655,8 @@ const (
AUCVTFS
AUCVTFWD
AUCVTFWS
- AHISTORY
- ANAME
AWORD
- ADYNT
- AINIT
ADWORD
- ASIGNAME
- AGOK
- AEND
AFCSELS
AFCSELD
AFMAXS
diff --git a/src/cmd/internal/obj/arm64/anames.go b/src/cmd/internal/obj/arm64/anames.go
index 486d4698a1..4ee4043af7 100644
--- a/src/cmd/internal/obj/arm64/anames.go
+++ b/src/cmd/internal/obj/arm64/anames.go
@@ -312,15 +312,8 @@ var Anames = []string{
"UCVTFS",
"UCVTFWD",
"UCVTFWS",
- "HISTORY",
- "NAME",
"WORD",
- "DYNT",
- "INIT",
"DWORD",
- "SIGNAME",
- "GOK",
- "END",
"FCSELS",
"FCSELD",
"FMAXS",