pdp 1.3 KB

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