xref: /freebsd/contrib/file/magic/Magdir/vax (revision d38c30c0)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*d38c30c0SXin LI# $File: vax,v 1.10 2019/10/04 18:07:46 christos Exp $
4b6cee71dSXin LI# vax:  file(1) magic for VAX executable/object and APL workspace
5b6cee71dSXin LI#
6b6cee71dSXin LI0	lelong		0101557		VAX single precision APL workspace
7b6cee71dSXin LI0	lelong		0101556		VAX double precision APL workspace
8b6cee71dSXin LI
9b6cee71dSXin LI#
10b6cee71dSXin LI# VAX a.out (BSD; others collide with 386 and other 32-bit little-endian
11b6cee71dSXin LI# executables, and are handled in aout)
12b6cee71dSXin LI#
13b6cee71dSXin LI0	lelong		0420		a.out VAX demand paged (first page unmapped) pure executable
14b6cee71dSXin LI>16	lelong		>0		not stripped
15b6cee71dSXin LI
16b6cee71dSXin LI#
17b6cee71dSXin LI# VAX COFF
18b6cee71dSXin LI#
19b6cee71dSXin LI# The `versions' were commented out, but have been un-commented out.
20b6cee71dSXin LI# (Was the problem just one of endianness?)
21b6cee71dSXin LI#
22*d38c30c0SXin LI0	leshort		0570
23*d38c30c0SXin LI>2	uleshort	<100		VAX COFF executable, sections %d
24*d38c30c0SXin LI>>4	ledate		x		\b, created %s
25*d38c30c0SXin LI>>12	lelong		>0		\b, not stripped
26*d38c30c0SXin LI>>22	leshort		>0		\b, version %d
27*d38c30c0SXin LI
28*d38c30c0SXin LI0	leshort		0575
29*d38c30c0SXin LI>2	uleshort	<100		VAX COFF pure executable, sections %d
30*d38c30c0SXin LI>>4	ledate		x		\b, created %s
31*d38c30c0SXin LI>>12	lelong		>0		\b, not stripped
32*d38c30c0SXin LI>>22	leshort		>0		\b, version %d
33