xref: /dragonfly/contrib/file/magic/Magdir/digital (revision 81c11cd3)
1
2#------------------------------------------------------------------------------
3# $File: digital,v 1.8 2009/09/19 16:28:08 christos Exp $
4#  Digital UNIX - Info
5#
60	string	=!<arch>\n________64E	Alpha archive
7>22	string	X			-- out of date
8#
9# Alpha COFF Based Executables
10# The stripped stuff really needs to be an 8 byte (64 bit) compare,
11# but this works
120	leshort		0x183		COFF format alpha
13>22	leshort&020000	&010000		sharable library,
14>22	leshort&020000	^010000		dynamically linked,
15>24	leshort		0410		pure
16>24	leshort		0413		demand paged
17>8	lelong		>0		executable or object module, not stripped
18>8	lelong		0
19>>12	lelong		0		executable or object module, stripped
20>>12	lelong		>0		executable or object module, not stripped
21>27     byte            >0              - version %d.
22>26     byte            >0              %d-
23>28     leshort         >0              %d
24#
25# The next is incomplete, we could tell more about this format,
26# but its not worth it.
270	leshort		0x188	Alpha compressed COFF
280	leshort		0x18f	Alpha u-code object
29#
30#
31# Some other interesting Digital formats,
320	string	\377\377\177		ddis/ddif
330	string	\377\377\174		ddis/dots archive
340	string	\377\377\176		ddis/dtif table data
350	string	\033c\033		LN03 output
360	long	04553207		X image
37#
380	string	=!<PDF>!\n		profiling data file
39#
40# Locale data tables (MIPS and Alpha).
41#
420	short		0x0501		locale data table
43>6	short		0x24		for MIPS
44>6	short		0x40		for Alpha
45