summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-02-19 12:42:46 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-02-19 12:42:46 +0000
commit1cc23748771ae262bacee36f8d85b949a44ac537 (patch)
tree981bd8971e4b8e33aed25203db534ef6fda111f8 /gnu/usr.bin
parentd3e9d63103c24bcdc84ab14b954d096728856522 (diff)
Add an ELF machine number to string mapping for AArch64.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils-2.17/binutils/readelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/binutils/readelf.c b/gnu/usr.bin/binutils-2.17/binutils/readelf.c
index 43854af43bc..413f03a43c5 100644
--- a/gnu/usr.bin/binutils-2.17/binutils/readelf.c
+++ b/gnu/usr.bin/binutils-2.17/binutils/readelf.c
@@ -1702,6 +1702,7 @@ get_machine_name (unsigned e_machine)
case EM_NIOS32: return "Altera Nios";
case EM_ALTERA_NIOS2: return "Altera Nios II";
case EM_XC16X: return "Infineon Technologies xc16x";
+ case EM_AARCH64: return "AArch64";
default:
snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
return buff;