]> Cypherpunks repositories - gostls13.git/commitdiff
debug/elf: add missing EM_AARCH64 to machineStrings
authorTobias Klauser <tklauser@distanz.ch>
Tue, 10 Apr 2018 07:57:14 +0000 (09:57 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 10 Apr 2018 14:30:45 +0000 (14:30 +0000)
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>
src/debug/elf/elf.go

index c8a4fe6e610ccd46b31e957ac2947a2f09f82407..6f96b3e3bccde209f7f9d860a67950be5487d791 100644 (file)
@@ -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"},