aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-04-10 09:57:14 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2018-04-10 14:30:45 +0000
commit7cb7d62950630a5a878ee6665258275fc935ef2f (patch)
treec7f1107d5aeef6c0957d9b4fd47b080fe9d53344 /src/debug
parentace5fa1a609c28cbfcede4639d3eed47c47b2774 (diff)
downloadgo-7cb7d62950630a5a878ee6665258275fc935ef2f.tar.xz
debug/elf: add missing EM_AARCH64 to machineStrings
EM_AARCH64 is defined as a constant, but the corresponding entry in machineStrings is missing. Add it. Change-Id: I6506404386efe608877095e635a290bbc0686215 Reviewed-on: https://go-review.googlesource.com/106035 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/elf/elf.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go
index c8a4fe6e61..6f96b3e3bc 100644
--- a/src/debug/elf/elf.go
+++ b/src/debug/elf/elf.go
@@ -289,6 +289,7 @@ var machineStrings = []intName{
{60, "EM_ST100"},
{61, "EM_TINYJ"},
{62, "EM_X86_64"},
+ {183, "EM_AARCH64"},
/* Non-standard or deprecated. */
{6, "EM_486"},