xref: /freebsd/contrib/file/magic/Magdir/hitachi-sh (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1
2#------------------------------------------------------------------------------
3# $File: hitachi-sh,v 1.6 2013/01/29 19:31:33 christos Exp $
4# hitach-sh: file(1) magic for Hitachi Super-H
5#
6# Super-H COFF
7#
8# below test line conflicts with 2nd NTFS filesystem sector
90	beshort		0x0500		Hitachi SH big-endian COFF
10# 2nd NTFS filesystem sector often starts with 0x05004e00 for unicode string 5 NTLDR
11#0	ubelong&0xFFFFNMPQ	0x0500NMPQ     Hitachi SH big-endian COFF
12>18	beshort&0x0002	=0x0000		object
13>18	beshort&0x0002	=0x0002		executable
14>18	beshort&0x0008	=0x0008		\b, stripped
15>18	beshort&0x0008	=0x0000		\b, not stripped
16#
170	leshort		0x0550		Hitachi SH little-endian COFF
18>18	leshort&0x0002	=0x0000		object
19>18	leshort&0x0002	=0x0002		executable
20>18	leshort&0x0008	=0x0008		\b, stripped
21>18	leshort&0x0008	=0x0000		\b, not stripped
22
23