1
2#------------------------------------------------------------------------------
3# $File: pdp,v 1.11 2017/03/17 21:35:28 christos Exp $
4# pdp:  file(1) magic for PDP-11 executable/object and APL workspace
5#
60         lelong              0101555             PDP-11 single precision APL workspace
70         lelong              0101554             PDP-11 double precision APL workspace
8#
9# PDP-11 a.out
10#
110         leshort             0407                PDP-11 executable
12>8        leshort             >0                  not stripped
13>15       byte                >0                  - version %d
14
15# updated by Joerg Jenderek at Mar 2013
16# GRR: line below too general as it catches also Windows precompiled setup information *.PNF
170         leshort             0401
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
220         leshort             0405                PDP-11 old overlay
23
240         leshort             0410                PDP-11 pure executable
25>8        leshort             >0                  not stripped
26>15       byte                >0                  - version %d
27
280         leshort             0411                PDP-11 separate I&D executable
29>8        leshort             >0                  not stripped
30>15       byte                >0                  - version %d
31
320         leshort             0437                PDP-11 kernel overlay
33
34# These last three are derived from 2.11BSD file(1)
350         leshort             0413                PDP-11 demand-paged pure executable
36>8        leshort             >0                  not stripped
37
380         leshort             0430                PDP-11 overlaid pure executable
39>8        leshort             >0                  not stripped
40
410         leshort             0431                PDP-11 overlaid separate executable
42>8        leshort             >0                  not stripped
43