417a11
From a5c989d3d36e51293a0474c4653f595dcfb94751 Mon Sep 17 00:00:00 2001
417a11
From: Jeffrey Bastian <jbastian@redhat.com>
417a11
Date: Thu, 20 Feb 2014 15:45:42 -0500
417a11
Subject: [PATCH] add aarch64
417a11
417a11
backport of upstream https://github.com/glensc/file/commit/2dccf6a6615f
417a11
---
417a11
 magic/Magdir/elf | 5 ++---
417a11
 1 file changed, 2 insertions(+), 3 deletions(-)
417a11
417a11
diff --git a/magic/Magdir/elf b/magic/Magdir/elf
417a11
index 8e3b7bc..e0e9937 100644
417a11
--- a/magic/Magdir/elf
417a11
+++ b/magic/Magdir/elf
417a11
@@ -148,12 +148,11 @@
417a11
 >>18	leshort		97		NatSemi 32k,
417a11
 >>18	leshort		106		Analog Devices Blackfin,
417a11
 >>18	leshort		113		Altera Nios II,
417a11
->>18	leshort		0xae		META,
417a11
+>>18	leshort		174		META,
417a11
+>>18	leshort		183		ARM aarch64,
417a11
 >>18	leshort		187		Tilera TILE64,
417a11
 >>18	leshort		188		Tilera TILEPro,
417a11
 >>18	leshort		191		Tilera TILE-Gx,
417a11
->>18	leshort		0x3426		OpenRISC (obsolete),
417a11
->>18	leshort		0x8472		OpenRISC (obsolete),
417a11
 >>18	leshort		0x9026		Alpha (unofficial),
417a11
 >>20	lelong		0		invalid version
417a11
 >>20	lelong		1		version 1
417a11
-- 
417a11
1.8.3.1
417a11