1284194Sdelphij
2284194Sdelphij#------------------------------------------------------------------------------
3284194Sdelphij# $File: digital,v 1.11 2013/01/11 16:45:23 christos Exp $
4284194Sdelphij#  Digital UNIX - Info
5284194Sdelphij#
6284194Sdelphij0	string	=!<arch>\n________64E	Alpha archive
7284194Sdelphij>22	string	X			-- out of date
8284194Sdelphij#
9284194Sdelphij
10284194Sdelphij0	leshort		0603
11284194Sdelphij>24	leshort		0410		COFF format alpha pure
12284194Sdelphij>24	leshort		0413		COFF format alpha demand paged
13284194Sdelphij>>22	leshort&030000	!020000		executable
14284194Sdelphij>>22	leshort&020000	!0		dynamically linked
15284194Sdelphij>>16	lelong		!0		not stripped
16284194Sdelphij>>16	lelong		0		stripped
17284194Sdelphij>>27	byte		x		- version %d
18284194Sdelphij>>26	byte		x		\b.%d
19284194Sdelphij>>28	byte		x		\b-%d
20284194Sdelphij>24	leshort		0407		COFF format alpha object
21284194Sdelphij>>22	leshort&030000	020000		shared library
22284194Sdelphij>>27	byte		x		- version %d
23284194Sdelphij>>26	byte		x		\b.%d
24284194Sdelphij>>28	byte		x		\b-%d
25284194Sdelphij
26284194Sdelphij# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
27284194Sdelphij#
28284194Sdelphij# The actual magic number is just "Core", followed by a 2-byte version
29284194Sdelphij# number; however, treating any file that begins with "Core" as a Digital
30284194Sdelphij# UNIX core dump file may produce too many false hits, so we include one
31284194Sdelphij# byte of the version number as well; DU 5.0 appears only to be up to
32284194Sdelphij# version 2.
33284194Sdelphij#
34284194Sdelphij0	string		Core\001	Alpha COFF format core dump (Digital UNIX)
35284194Sdelphij>24	string		>\0		\b, from '%s'
36284194Sdelphij0	string		Core\002	Alpha COFF format core dump (Digital UNIX)
37284194Sdelphij>24	string		>\0		\b, from '%s'
38284194Sdelphij#
39284194Sdelphij# The next is incomplete, we could tell more about this format,
40284194Sdelphij# but its not worth it.
41284194Sdelphij0	leshort		0x188	Alpha compressed COFF
42284194Sdelphij0	leshort		0x18f	Alpha u-code object
43284194Sdelphij#
44284194Sdelphij#
45284194Sdelphij# Some other interesting Digital formats,
46284194Sdelphij0	string	\377\377\177		ddis/ddif
47284194Sdelphij0	string	\377\377\174		ddis/dots archive
48284194Sdelphij0	string	\377\377\176		ddis/dtif table data
49284194Sdelphij0	string	\033c\033		LN03 output
50284194Sdelphij0	long	04553207		X image
51284194Sdelphij#
52284194Sdelphij0	string	=!<PDF>!\n		profiling data file
53284194Sdelphij#
54284194Sdelphij# Locale data tables (MIPS and Alpha).
55284194Sdelphij#
56284194Sdelphij0	short		0x0501		locale data table
57284194Sdelphij>6	short		0x24		for MIPS
58284194Sdelphij>6	short		0x40		for Alpha
59