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