]> granicus.if.org Git - file/commitdiff
Print LE/BE for arm elf, from Matt Thomas via NetBSD.
authorChristos Zoulas <christos@zoulas.com>
Sun, 4 Aug 2013 09:31:47 +0000 (09:31 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 4 Aug 2013 09:31:47 +0000 (09:31 +0000)
magic/Magdir/elf

index d174e1cda152b94107e6469c5a5523e9845dd6cd..642e86fc543bf76c3efdec6262baf180af0330ae 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: elf,v 1.63 2013/06/03 18:56:50 christos Exp $
+# $File: elf,v 1.64 2013/08/04 09:31:47 christos Exp $
 # elf:  file(1) magic for ELF executables
 #
 # We have to check the byte order flag to see what byte order all the
 >>4    byte            1
 >>>36  lelong&0xff000000       0x04000000      EABI4
 >>>36  lelong&0xff000000       0x05000000      EABI5
+>>>36  lelong          &0x00800000     BE8
+>>>36  lelong          &0x00400000     LE8
 >18    leshort         41              Alpha,
 >18    leshort         0xa390          IBM S/390 (obsolete),
 >18    leshort         42              Renesas SH,