xref: /freebsd/contrib/file/magic/Magdir/pdp (revision b6cee71de37d56e36dbc118e2d9b03e7cece5709)
1*b6cee71dSXin LI
2*b6cee71dSXin LI#------------------------------------------------------------------------------
3*b6cee71dSXin LI# $File: pdp,v 1.10 2014/04/30 21:41:02 christos Exp $
4*b6cee71dSXin LI# pdp:  file(1) magic for PDP-11 executable/object and APL workspace
5*b6cee71dSXin LI#
6*b6cee71dSXin LI0	lelong		0101555		PDP-11 single precision APL workspace
7*b6cee71dSXin LI0	lelong		0101554		PDP-11 double precision APL workspace
8*b6cee71dSXin LI#
9*b6cee71dSXin LI# PDP-11 a.out
10*b6cee71dSXin LI#
11*b6cee71dSXin LI0	leshort		0407		PDP-11 executable
12*b6cee71dSXin LI>8	leshort		>0		not stripped
13*b6cee71dSXin LI>15	byte		>0		- version %d
14*b6cee71dSXin LI
15*b6cee71dSXin LI# updated by Joerg Jenderek at Mar 2013
16*b6cee71dSXin LI# GRR: line below too general as it catches also Windows precompiled setup information *.PNF
17*b6cee71dSXin LI0	leshort		0401
18*b6cee71dSXin LI# skip *.PNF with WinDirPathOffset 58h
19*b6cee71dSXin LI>68	ulelong		!0x00000058	PDP-11 UNIX/RT ldp
20*b6cee71dSXin LI# skip *.PNF with high byte of InfVersionDatumCount zero
21*b6cee71dSXin LI#>>15	byte		!0		PDP-11 UNIX/RT ldp
22*b6cee71dSXin LI0	leshort		0405		PDP-11 old overlay
23*b6cee71dSXin LI
24*b6cee71dSXin LI0	leshort		0410		PDP-11 pure executable
25*b6cee71dSXin LI>8	leshort		>0		not stripped
26*b6cee71dSXin LI>15	byte		>0		- version %d
27*b6cee71dSXin LI
28*b6cee71dSXin LI0	leshort		0411		PDP-11 separate I&D executable
29*b6cee71dSXin LI>8	leshort		>0		not stripped
30*b6cee71dSXin LI>15	byte		>0		- version %d
31*b6cee71dSXin LI
32*b6cee71dSXin LI0	leshort		0437		PDP-11 kernel overlay
33*b6cee71dSXin LI
34*b6cee71dSXin LI# These last three are derived from 2.11BSD file(1)
35*b6cee71dSXin LI0	leshort		0413		PDP-11 demand-paged pure executable
36*b6cee71dSXin LI>8	leshort		>0		not stripped
37*b6cee71dSXin LI
38*b6cee71dSXin LI0	leshort		0430		PDP-11 overlaid pure executable
39*b6cee71dSXin LI>8	leshort		>0		not stripped
40*b6cee71dSXin LI
41*b6cee71dSXin LI0	leshort		0431		PDP-11 overlaid separate executable
42*b6cee71dSXin LI>8	leshort		>0		not stripped
43