head	1.2;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.1.1.8.1
	RELENG_4_11:1.1.1.1.8.1.0.18
	RELENG_4_11_BP:1.1.1.1.8.1
	RELENG_4_10_0_RELEASE:1.1.1.1.8.1
	RELENG_4_10:1.1.1.1.8.1.0.16
	RELENG_4_10_BP:1.1.1.1.8.1
	RELENG_4_9_0_RELEASE:1.1.1.1.8.1
	RELENG_4_9:1.1.1.1.8.1.0.14
	RELENG_4_9_BP:1.1.1.1.8.1
	RELENG_4_8_0_RELEASE:1.1.1.1.8.1
	RELENG_4_8:1.1.1.1.8.1.0.12
	RELENG_4_8_BP:1.1.1.1.8.1
	RELENG_4_7_0_RELEASE:1.1.1.1.8.1
	RELENG_4_7:1.1.1.1.8.1.0.10
	RELENG_4_7_BP:1.1.1.1.8.1
	RELENG_4_6_2_RELEASE:1.1.1.1.8.1
	RELENG_4_6_1_RELEASE:1.1.1.1.8.1
	RELENG_4_6_0_RELEASE:1.1.1.1.8.1
	RELENG_4_6:1.1.1.1.8.1.0.8
	RELENG_4_6_BP:1.1.1.1.8.1
	RELENG_4_5_0_RELEASE:1.1.1.1.8.1
	RELENG_4_5:1.1.1.1.8.1.0.6
	RELENG_4_5_BP:1.1.1.1.8.1
	RELENG_4_4_0_RELEASE:1.1.1.1.8.1
	RELENG_4_4:1.1.1.1.8.1.0.4
	RELENG_4_4_BP:1.1.1.1.8.1
	RELENG_4_3_0_RELEASE:1.1.1.1.8.1
	RELENG_4_3:1.1.1.1.8.1.0.2
	RELENG_4_3_BP:1.1.1.1.8.1
	RELENG_4_2_0_RELEASE:1.1.1.1
	RELENG_4_1_1_RELEASE:1.1.1.1
	PRE_SMPNG:1.1.1.1
	RELENG_4_1_0_RELEASE:1.1.1.1
	RELENG_3_5_0_RELEASE:1.1.1.1
	RELENG_4_0_0_RELEASE:1.1.1.1
	RELENG_4:1.1.1.1.0.8
	RELENG_4_BP:1.1.1.1
	RELENG_3_4_0_RELEASE:1.1.1.1
	RELENG_3_3_0_RELEASE:1.1.1.1
	RELENG_3_2_PAO:1.1.1.1.0.6
	RELENG_3_2_PAO_BP:1.1.1.1
	RELENG_3_2_0_RELEASE:1.1.1.1
	RELENG_3_1_0_RELEASE:1.1.1.1
	RELENG_3:1.1.1.1.0.4
	RELENG_3_BP:1.1.1.1
	RELENG_2_2_8_RELEASE:1.1.1.1.2.1
	RELENG_3_0_0_RELEASE:1.1.1.1
	RELENG_2_2_7_RELEASE:1.1.1.1.2.1
	RELENG_2_2_6_RELEASE:1.1.1.1.2.1
	RELENG_2_2_5_RELEASE:1.1.1.1.2.1
	RELENG_2_2:1.1.1.1.0.2
	file_3_22:1.1.1.1
	DARWIN:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2000.11.05.09.06.06;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	97.03.18.18.00.03;	author mpp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.18.18.00.03;	author mpp;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.8.1;
next	;

1.1.1.1.2.1
date	97.06.29.10.19.17;	author obrien;	state Exp;
branches;
next	;

1.1.1.1.8.1
date	2000.11.29.19.32.51;	author obrien;	state dead;
branches;
next	;


desc
@@


1.2
log
@Switch over to using the Christos Zoulas maintained version in contrib/
This also gives use the same exact results as NetBSD, thus sharing more
code with our bretheren.
@
text
@
#------------------------------------------------------------------------------
# xenix:  file(1) magic for Microsoft Xenix
#
# "Middle model" stuff, and "Xenix 8086 relocatable or 80286 small
# model" lifted from "magic.xenix", with comment "derived empirically;
# treat as folklore until proven"
#
# "small model", "large model", "huge model" stuff lifted from XXX
#
# XXX - "x.out" collides with PDP-11 archives
#
0	string		core		core file (Xenix)
0	byte		0x80		8086 relocatable (Microsoft)
0	leshort		0xff65		x.out
>2	string		__.SYMDEF	 randomized
>0	byte		x		archive
0	leshort		0x206		Microsoft a.out
>8	leshort		1		Middle model
>0x1e	leshort		&0x10		overlay
>0x1e	leshort		&0x2		separate
>0x1e	leshort		&0x4		pure
>0x1e	leshort		&0x800		segmented
>0x1e	leshort		&0x400		standalone
>0x1e	leshort		&0x8		fixed-stack
>0x1c	byte		&0x80		byte-swapped
>0x1c	byte		&0x40		word-swapped
>0x10	lelong		>0		not-stripped
>0x1e	leshort		^0xc000		pre-SysV
>0x1e	leshort		&0x4000		V2.3
>0x1e	leshort		&0x8000		V3.0
>0x1c	byte		&0x4		86
>0x1c	byte		&0xb		186
>0x1c	byte		&0x9		286
>0x1c	byte		&0xa		386
>0x1f	byte		<0x040		small model
>0x1f	byte		=0x048		large model	
>0x1f	byte		=0x049		huge model 
>0x1e	leshort		&0x1		executable
>0x1e	leshort		^0x1		object file
>0x1e	leshort		&0x40		Large Text
>0x1e	leshort		&0x20		Large Data
>0x1e	leshort		&0x120		Huge Objects Enabled
>0x10	lelong		>0		not stripped

0	leshort		0x140		old Microsoft 8086 x.out
>0x3	byte		&0x4		separate
>0x3	byte		&0x2		pure
>0	byte		&0x1		executable
>0	byte		^0x1		relocatable
>0x14	lelong		>0		not stripped

0	lelong		0x206		b.out
>0x1e	leshort		&0x10		overlay
>0x1e	leshort		&0x2		separate
>0x1e	leshort		&0x4		pure
>0x1e	leshort		&0x800		segmented
>0x1e	leshort		&0x400		standalone
>0x1e	leshort		&0x1		executable
>0x1e	leshort		^0x1		object file
>0x1e	leshort		&0x4000		V2.3
>0x1e	leshort		&0x8000		V3.0
>0x1c	byte		&0x4		86
>0x1c	byte		&0xb		186
>0x1c	byte		&0x9		286
>0x1c	byte		&0x29		286
>0x1c	byte		&0xa		386
>0x1e	leshort		&0x4		Large Text
>0x1e	leshort		&0x2		Large Data
>0x1e	leshort		&0x102		Huge Objects Enabled

0	leshort		0x580		XENIX 8086 relocatable or 80286 small model
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Upgrade to file version 3.22.

Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
@
text
@@


1.1.1.1.8.1
log
@MFC: switch over to using the Christos Zoulas maintained version in contrib/
@
text
@@


1.1.1.1.2.1
log
@Merge from current.
@
text
@@
