summaryrefslogtreecommitdiff
path: root/magic/Magdir/pdp
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-03 15:19:27 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-03 16:11:49 +0000
commitd3ee0b6f6c6d0295075a8132f7e67d92f7d74d96 (patch)
tree41044880e826d60621a2d636ed71283de5e0e291 /magic/Magdir/pdp
parent3b49db406667ee7189b9ea69b9d9e0bdcc43c5b7 (diff)
downloadfile-d3ee0b6f6c6d0295075a8132f7e67d92f7d74d96.tar.gz
Import 5.22 tarballbaserock/tiagogomes/armv8l64
Diffstat (limited to 'magic/Magdir/pdp')
-rw-r--r--magic/Magdir/pdp18
1 files changed, 12 insertions, 6 deletions
diff --git a/magic/Magdir/pdp b/magic/Magdir/pdp
index fa4b82b..0afee0c 100644
--- a/magic/Magdir/pdp
+++ b/magic/Magdir/pdp
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: pdp,v 1.8 2009/09/19 16:28:11 christos Exp $
+# $File: pdp,v 1.10 2014/04/30 21:41:02 christos Exp $
# pdp: file(1) magic for PDP-11 executable/object and APL workspace
#
0 lelong 0101555 PDP-11 single precision APL workspace
@@ -10,18 +10,24 @@
#
0 leshort 0407 PDP-11 executable
>8 leshort >0 not stripped
->15 byte >0 - version %ld
-
-0 leshort 0401 PDP-11 UNIX/RT ldp
+>15 byte >0 - version %d
+
+# updated by Joerg Jenderek at Mar 2013
+# GRR: line below too general as it catches also Windows precompiled setup information *.PNF
+0 leshort 0401
+# skip *.PNF with WinDirPathOffset 58h
+>68 ulelong !0x00000058 PDP-11 UNIX/RT ldp
+# skip *.PNF with high byte of InfVersionDatumCount zero
+#>>15 byte !0 PDP-11 UNIX/RT ldp
0 leshort 0405 PDP-11 old overlay
0 leshort 0410 PDP-11 pure executable
>8 leshort >0 not stripped
->15 byte >0 - version %ld
+>15 byte >0 - version %d
0 leshort 0411 PDP-11 separate I&D executable
>8 leshort >0 not stripped
->15 byte >0 - version %ld
+>15 byte >0 - version %d
0 leshort 0437 PDP-11 kernel overlay