head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.22
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.20
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.18
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.16
	pgoyette-compat-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.14
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.12
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.10
	pgoyette-localcount-base:1.2
	netbsd-5-2-3-RELEASE:1.1.1.8
	netbsd-5-1-5-RELEASE:1.1.1.8
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	tls-earlyentropy:1.2.0.6
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-5-2-2-RELEASE:1.1.1.8
	netbsd-5-1-4-RELEASE:1.1.1.8
	netbsd-5-2-1-RELEASE:1.1.1.8
	netbsd-5-1-3-RELEASE:1.1.1.8
	agc-symver:1.2.0.8
	agc-symver-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.1.8.0.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1.1.8
	netbsd-5-2-RC1:1.1.1.8
	yamt-pagecache-base6:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-5-1-2-RELEASE:1.1.1.8
	netbsd-5-1-1-RELEASE:1.1.1.8
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.2
	bouyer-quota2-base:1.2
	matt-nb5-mips64-premerge-20101231:1.1.1.8
	matt-nb5-pq3:1.1.1.8.0.14
	matt-nb5-pq3-base:1.1.1.8
	netbsd-5-1:1.1.1.8.0.12
	netbsd-5-1-RELEASE:1.1.1.8
	netbsd-5-1-RC4:1.1.1.8
	matt-nb5-mips64-k15:1.1.1.8
	netbsd-5-1-RC3:1.1.1.8
	netbsd-5-1-RC2:1.1.1.8
	netbsd-5-1-RC1:1.1.1.8
	netbsd-5-0-2-RELEASE:1.1.1.8
	matt-nb5-mips64-premerge-20091211:1.1.1.8
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.1.8
	matt-nb4-mips64-k7-u2a-k9b:1.1.1.8
	matt-nb5-mips64-u1-k1-k5:1.1.1.8
	matt-nb5-mips64:1.1.1.8.0.10
	netbsd-5-0-1-RELEASE:1.1.1.8
	jym-xensuspend-nbase:1.1.1.8
	netbsd-5-0:1.1.1.8.0.8
	netbsd-5-0-RELEASE:1.1.1.8
	netbsd-5-0-RC4:1.1.1.8
	netbsd-5-0-RC3:1.1.1.8
	netbsd-5-0-RC2:1.1.1.8
	jym-xensuspend:1.1.1.8.0.6
	jym-xensuspend-base:1.1.1.8
	netbsd-5-0-RC1:1.1.1.8
	netbsd-5:1.1.1.8.0.4
	netbsd-5-base:1.1.1.8
	matt-mips64-base2:1.1.1.8
	matt-mips64:1.1.1.7.0.14
	netbsd-4-0-1-RELEASE:1.1.1.5.2.1
	wrstuden-revivesa-base-3:1.1.1.8
	wrstuden-revivesa-base-2:1.1.1.8
	wrstuden-fixsa-newbase:1.1.1.5.2.1
	FILE4_26:1.1.1.8
	wrstuden-revivesa-base-1:1.1.1.7
	yamt-pf42-base4:1.1.1.7
	yamt-pf42-base3:1.1.1.7
	hpcarm-cleanup-nbase:1.1.1.7
	yamt-pf42-baseX:1.1.1.7
	yamt-pf42-base2:1.1.1.7
	wrstuden-revivesa:1.1.1.7.0.12
	wrstuden-revivesa-base:1.1.1.7
	yamt-pf42:1.1.1.7.0.10
	yamt-pf42-base:1.1.1.7
	keiichi-mipv6:1.1.1.7.0.8
	keiichi-mipv6-base:1.1.1.7
	matt-armv6-nbase:1.1.1.7
	matt-armv6-prevmlocking:1.1.1.7
	wrstuden-fixsa-base-1:1.1.1.5.2.1
	netbsd-4-0:1.1.1.5.2.1.0.2
	netbsd-4-0-RELEASE:1.1.1.5.2.1
	cube-autoconf:1.1.1.7.0.6
	cube-autoconf-base:1.1.1.7
	netbsd-4-0-RC5:1.1.1.5.2.1
	netbsd-4-0-RC4:1.1.1.5.2.1
	netbsd-4-0-RC3:1.1.1.5.2.1
	netbsd-4-0-RC2:1.1.1.5.2.1
	netbsd-4-0-RC1:1.1.1.5.2.1
	matt-armv6:1.1.1.7.0.4
	matt-armv6-base:1.1.1.7
	matt-mips64-base:1.1.1.7
	hpcarm-cleanup:1.1.1.7.0.2
	hpcarm-cleanup-base:1.1.1.7
	netbsd-3-1-1-RELEASE:1.1.1.3.6.1
	netbsd-3-0-3-RELEASE:1.1.1.3.4.1
	FILE4_21:1.1.1.7
	wrstuden-fixsa:1.1.1.5.0.4
	wrstuden-fixsa-base:1.1.1.5.2.1
	FILE4_20:1.1.1.6
	abandoned-netbsd-4-base:1.1.1.4
	abandoned-netbsd-4:1.1.1.4.0.2
	FILE4_18:1.1.1.5
	netbsd-3-1:1.1.1.3.0.6
	netbsd-3-1-RELEASE:1.1.1.3
	netbsd-3-0-2-RELEASE:1.1.1.3
	netbsd-3-1-RC4:1.1.1.3
	netbsd-3-1-RC3:1.1.1.3
	netbsd-3-1-RC2:1.1.1.3
	netbsd-3-1-RC1:1.1.1.3
	netbsd-4:1.1.1.5.0.2
	netbsd-4-base:1.1.1.5
	netbsd-3-0-1-RELEASE:1.1.1.3
	netbsd-3-0:1.1.1.3.0.4
	netbsd-3-0-RELEASE:1.1.1.3
	netbsd-3-0-RC6:1.1.1.3
	netbsd-3-0-RC5:1.1.1.3
	netbsd-3-0-RC4:1.1.1.3
	netbsd-3-0-RC3:1.1.1.3
	netbsd-3-0-RC2:1.1.1.3
	netbsd-3-0-RC1:1.1.1.3
	netbsd-2-0-3-RELEASE:1.1.1.2
	netbsd-2-1:1.1.1.2.0.6
	netbsd-2-1-RELEASE:1.1.1.2
	FILE4_16:1.1.1.4
	netbsd-2-1-RC6:1.1.1.2
	netbsd-2-1-RC5:1.1.1.2
	netbsd-2-1-RC4:1.1.1.2
	netbsd-2-1-RC3:1.1.1.2
	netbsd-2-1-RC2:1.1.1.2
	netbsd-2-1-RC1:1.1.1.2
	netbsd-2-0-2-RELEASE:1.1.1.2
	netbsd-3:1.1.1.3.0.2
	netbsd-3-base:1.1.1.3
	FILE4_13:1.1.1.3
	FILE413-BEFOREIMPORT:1.1.1.3
	netbsd-2-0-1-RELEASE:1.1.1.2
	netbsd-2:1.1.1.2.0.4
	netbsd-2-base:1.1.1.2
	FILE4_12:1.1.1.3
	netbsd-2-0-RELEASE:1.1.1.2
	netbsd-2-0-RC5:1.1.1.2
	netbsd-2-0-RC4:1.1.1.2
	netbsd-2-0-RC3:1.1.1.2
	netbsd-2-0-RC2:1.1.1.2
	netbsd-2-0-RC1:1.1.1.2
	FILE4_10:1.1.1.2
	FILE4_09:1.1.1.2
	netbsd-2-0:1.1.1.2.0.2
	netbsd-2-0-base:1.1.1.2
	FILE4_08:1.1.1.2
	FILE4_06:1.1.1.2
	FILE4_04:1.1.1.2
	FILE4_03:1.1.1.2
	FILE4_00:1.1.1.1
	CHRISTOS:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2009.10.17.23.05.35;	author snj;	state dead;
branches;
next	1.1;

1.1
date	2003.03.25.22.30.27;	author pooka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2003.03.25.22.30.27;	author pooka;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2003.05.25.21.28.37;	author pooka;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2004.12.13.10.25.00;	author pooka;	state Exp;
branches
	1.1.1.3.2.1
	1.1.1.3.4.1
	1.1.1.3.6.1;
next	1.1.1.4;

1.1.1.4
date	2005.10.17.17.48.37;	author pooka;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2006.10.31.20.34.55;	author pooka;	state Exp;
branches
	1.1.1.5.2.1
	1.1.1.5.4.1;
next	1.1.1.6;

1.1.1.6
date	2007.03.04.14.54.56;	author pooka;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2007.06.07.11.24.40;	author pooka;	state Exp;
branches
	1.1.1.7.12.1;
next	1.1.1.8;

1.1.1.8
date	2008.08.30.11.21.01;	author christos;	state Exp;
branches;
next	;

1.1.1.3.2.1
date	2007.06.24.19.41.54;	author ghen;	state Exp;
branches;
next	;

1.1.1.3.4.1
date	2007.06.24.19.43.23;	author ghen;	state Exp;
branches;
next	;

1.1.1.3.6.1
date	2007.06.24.19.45.20;	author ghen;	state Exp;
branches;
next	;

1.1.1.5.2.1
date	2007.06.15.16.14.44;	author liamjfoy;	state Exp;
branches;
next	;

1.1.1.5.4.1
date	2007.09.03.06.53.25;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.7.12.1
date	2008.09.18.04.44.40;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.2
log
@This hasn't been used in a while.  Long live external/bsd/file!
@
text
@
#------------------------------------------------------------------------------
# elf:  file(1) magic for ELF executables
#
# We have to check the byte order flag to see what byte order all the
# other stuff in the header is in.
#
# What're the correct byte orders for the nCUBE and the Fujitsu VPP500?
#
# updated by Daniel Quinlan (quinlan@@yggdrasil.com)
0	string		\177ELF		ELF
>4	byte		0		invalid class
>4	byte		1		32-bit
# only for MIPS - in the future, the ABI field of e_flags should be used.
>>18	beshort		8
>>18	beshort		10
>>>36   belong          &0x20           N32
>4	byte		2		64-bit
>5	byte		0		invalid byte order
>5	byte		1		LSB
# The official e_machine number for MIPS is now #8, regardless of endianness.
# The second number (#10) will be deprecated later. For now, we still
# say something if #10 is encountered, but only gory details for #8.
>>18    leshort		8
# only for 32-bit
>>>4	byte		1
>>>>36  lelong&0xf0000000	0x00000000	MIPS-I
>>>>36  lelong&0xf0000000	0x10000000	MIPS-II
>>>>36  lelong&0xf0000000	0x20000000	MIPS-III
>>>>36  lelong&0xf0000000	0x30000000	MIPS-IV
>>>>36  lelong&0xf0000000	0x40000000	MIPS-V
>>>>36  lelong&0xf0000000	0x60000000	MIPS32
>>>>36  lelong&0xf0000000	0x70000000	MIPS64
>>>>36  lelong&0xf0000000	0x80000000	MIPS32 rel2
>>>>36  lelong&0xf0000000	0x90000000	MIPS64 rel2
# only for 64-bit
>>>4	byte		2
>>>>48  lelong&0xf0000000	0x00000000	MIPS-I
>>>>48  lelong&0xf0000000	0x10000000	MIPS-II
>>>>48  lelong&0xf0000000	0x20000000	MIPS-III
>>>>48  lelong&0xf0000000	0x30000000	MIPS-IV
>>>>48  lelong&0xf0000000	0x40000000	MIPS-V
>>>>48  lelong&0xf0000000	0x60000000	MIPS32
>>>>48  lelong&0xf0000000	0x70000000	MIPS64 
>>>>48  lelong&0xf0000000	0x80000000	MIPS32 rel2
>>>>48  lelong&0xf0000000	0x90000000	MIPS64 rel2
>>16	leshort		0		no file type,
>>16	leshort		1		relocatable,
>>16	leshort		2		executable,
>>16	leshort		3		shared object,
# Core handling from Peter Tobias <tobias@@server.et-inf.fho-emden.de>
# corrections by Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de>
>>16	leshort		4		core file
# Core file detection is not reliable.
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) lelong	>0		(signal %d),
>>16	leshort		&0xff00		processor-specific,
>>18	leshort		0		no machine,
>>18	leshort		1		AT&T WE32100 - invalid byte order,
>>18	leshort		2		SPARC - invalid byte order,
>>18	leshort		3		Intel 80386,
>>18	leshort		4		Motorola
>>>36	lelong		&0x01000000	68000 - invalid byte order,
>>>36	lelong		&0x00810000	CPU32 - invalid byte order,
>>>36	lelong		0		68020 - invalid byte order,
>>18	leshort		5		Motorola 88000 - invalid byte order,
>>18	leshort		6		Intel 80486,
>>18	leshort		7		Intel 80860,
>>18	leshort		8		MIPS,
>>18	leshort		9		Amdahl - invalid byte order,
>>18	leshort		10		MIPS (deprecated),
>>18	leshort		11		RS6000 - invalid byte order,
>>18	leshort		15		PA-RISC - invalid byte order,
>>>50	leshort		0x0214		2.0
>>>48	leshort		&0x0008		(LP64),
>>18	leshort		16		nCUBE,
>>18	leshort		17		Fujitsu VPP500,
>>18	leshort		18		SPARC32PLUS,
>>18	leshort		20		PowerPC,
>>18	leshort		36		NEC V800,
>>18	leshort		37		Fujitsu FR20,
>>18	leshort		38		TRW RH-32,
>>18	leshort		39		Motorola RCE,
>>18	leshort		40		ARM,
>>18	leshort		41		Alpha,
>>18	leshort		42		Hitachi SH,
>>18	leshort		43		SPARC V9 - invalid byte order,
>>18	leshort		44		Siemens Tricore Embedded Processor,
>>18	leshort		45		Argonaut RISC Core, Argonaut Technologies Inc.,
>>18	leshort		46		Hitachi H8/300,
>>18	leshort		47		Hitachi H8/300H,
>>18	leshort		48		Hitachi H8S,
>>18	leshort		49		Hitachi H8/500,
>>18	leshort		50		IA-64 (Intel 64 bit architecture)
>>18	leshort		51		Stanford MIPS-X,
>>18	leshort		52		Motorola Coldfire,
>>18	leshort		53		Motorola M68HC12,
>>18	leshort		62		AMD x86-64,
>>18	leshort		75		Digital VAX,
>>18	leshort		97		NatSemi 32k,
>>18	leshort		0x9026		Alpha (unofficial),
>>20	lelong		0		invalid version
>>20	lelong		1		version 1
>>36	lelong		1		MathCoPro/FPU/MAU Required
>5	byte		2		MSB
# only for MIPS - see comment in little-endian section above.
>>18    beshort		8
# only for 32-bit
>>>4	byte		1
>>>>36  belong&0xf0000000	0x00000000	MIPS-I
>>>>36  belong&0xf0000000	0x10000000	MIPS-II
>>>>36  belong&0xf0000000	0x20000000	MIPS-III
>>>>36  belong&0xf0000000	0x30000000	MIPS-IV
>>>>36  belong&0xf0000000	0x40000000	MIPS-V
>>>>36  belong&0xf0000000	0x60000000	MIPS32
>>>>36  belong&0xf0000000	0x70000000	MIPS64
>>>>36  belong&0xf0000000	0x80000000	MIPS32 rel2
>>>>36  belong&0xf0000000	0x90000000	MIPS64 rel2
# only for 64-bit
>>>4	byte		2
>>>>48	belong&0xf0000000	0x00000000	MIPS-I
>>>>48	belong&0xf0000000	0x10000000	MIPS-II
>>>>48	belong&0xf0000000	0x20000000	MIPS-III
>>>>48	belong&0xf0000000	0x30000000	MIPS-IV
>>>>48	belong&0xf0000000	0x40000000	MIPS-V
>>>>48	belong&0xf0000000	0x60000000	MIPS32
>>>>48	belong&0xf0000000	0x70000000	MIPS64 
>>>>48	belong&0xf0000000	0x80000000	MIPS32 rel2
>>>>48	belong&0xf0000000	0x90000000	MIPS64 rel2
>>16	beshort		0		no file type,
>>16	beshort		1		relocatable,
>>16	beshort		2		executable,
>>16	beshort		3		shared object,
>>16	beshort		4		core file,
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) belong	>0		(signal %d),
>>16	beshort		&0xff00		processor-specific,
>>18	beshort		0		no machine,
>>18	beshort		1		AT&T WE32100,
>>18	beshort		2		SPARC,
>>18	beshort		3		Intel 80386 - invalid byte order,
>>18	beshort		4		Motorola
>>>36	belong		&0x01000000	68000,
>>>36	belong		&0x00810000	CPU32,
>>>36	belong		0		68020,
>>18	beshort		5		Motorola 88000,
>>18	beshort		6		Intel 80486 - invalid byte order,
>>18	beshort		7		Intel 80860,
>>18	beshort		8		MIPS,
>>18	beshort		9		Amdahl,
>>18	beshort		10		MIPS (deprecated),
>>18	beshort		11		RS6000,
>>18	beshort		15		PA-RISC
>>>50	beshort		0x0214		2.0
>>>48	beshort		&0x0008		(LP64)
>>18	beshort		16		nCUBE,
>>18	beshort		17		Fujitsu VPP500,
>>18	beshort		18		SPARC32PLUS,
>>>36	belong&0xffff00	&0x000100	V8+ Required,
>>>36	belong&0xffff00	&0x000200	Sun UltraSPARC1 Extensions Required,
>>>36	belong&0xffff00	&0x000400	HaL R1 Extensions Required,
>>>36	belong&0xffff00	&0x000800	Sun UltraSPARC3 Extensions Required,
>>18	beshort		20		PowerPC or cisco 4500,
>>18	beshort		21		cisco 7500,
>>18	beshort		24		cisco SVIP,
>>18	beshort		25		cisco 7200,
>>18	beshort		36		NEC V800 or cisco 12000,
>>18	beshort		37		Fujitsu FR20,
>>18	beshort		38		TRW RH-32,
>>18	beshort		39		Motorola RCE,
>>18	beshort		40		ARM,
>>18	beshort		41		Alpha,
>>18	beshort		42		Hitachi SH,
>>18	beshort		43		SPARC V9,
>>18	beshort		44		Siemens Tricore Embedded Processor,
>>18	beshort		45		Argonaut RISC Core, Argonaut Technologies Inc.,
>>18	beshort		46		Hitachi H8/300,
>>18	beshort		47		Hitachi H8/300H,
>>18	beshort		48		Hitachi H8S,
>>18	beshort		49		Hitachi H8/500,
>>18	beshort		50		Intel Merced Processor,
>>18	beshort		51		Stanford MIPS-X,
>>18	beshort		52		Motorola Coldfire,
>>18	beshort		53		Motorola M68HC12,
>>18	beshort		73		Cray NV1,
>>18	beshort		75		Digital VAX,
>>18	beshort		97		NatSemi 32k,
>>18	beshort		0x9026		Alpha (unofficial),
>>20	belong		0		invalid version
>>20	belong		1		version 1
>>36	belong		1		MathCoPro/FPU/MAU Required
>8	string		>\0		(%s)
>8	string		\0
>>7	byte		0		(SYSV)
>>7	byte		1		(HP-UX)
>>7	byte		2		(NetBSD)
>>7	byte		3		(GNU/Linux)
>>7	byte		4		(GNU/Hurd)
>>7	byte		5		(86Open)
>>7	byte		6		(Solaris)
>>7	byte		7		(Monterey)
>>7	byte		8		(IRIX)
>>7	byte		9		(FreeBSD)
>>7	byte		10		(Tru64)
>>7	byte		11		(Novell Modesto)
>>7	byte		12		(OpenBSD)
>>7	byte		97		(ARM)
>>7	byte		255		(embedded)
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@file 4.00
@
text
@@


1.1.1.2
log
@file 4.03

small changes & fixes
@
text
@a14 4
>>18	leshort		8
>>>36	lelong		&0x20		N32
>>18	leshort		10
>>>36	lelong		&0x20		N32
a15 1
>>>36	belong		&0x20		N32
d17 1
a17 1
>>>36	belong		&0x20		N32
a79 1
>>18	leshort		22		IBM S/390,
a85 1
>>18	leshort		0xa390		IBM S/390 (obsolete),
a164 1
>>18	beshort		22		IBM S/390,
a188 1
>>18	beshort		0xa390		IBM S/390 (obsolete),
d192 1
a192 4
# Up to now only 0, 1 and 2 are defined; I've seen a file with 0x83, it seemed
# like proper ELF, but extracting the string had bad results.
>4      byte            <0x80
>>8	string		>\0		(%s)
@


1.1.1.3
log
@file 4.12

+ assorted bug fixes
+ switch to 2-clause license
@
text
@a106 1
>>18	leshort		88		Renesas M32R,
a194 1
>>18	beshort		88		Renesas M32R,
@


1.1.1.3.6.1
log
@Pull up following revision(s) (requested by pooka in ticket #1804):
	dist/file/: synced with HEAD on 20070615
	distrib/sets/lists/base/shl.elf: revision 1.222
	distrib/sets/lists/base/shl.mi: revision 1.375 via patch
	lib/Makefile: revision 1.108 via patch
	lib/libmagic/Makefile: revision 1.5
	lib/libmagic/config.h: patch
	lib/libmagic/shlib_version: revision 1.3-1.4
	tools/file/Makefile: revision 1.4
	usr.bin/file/Makefile: revision 1.51-1.53
Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and
CVE-2007-2799).
@
text
@d14 9
a25 22
>>16	leshort		0		no file type,
>>16	leshort		1		relocatable,
>>16	leshort		2		executable,
>>16	leshort		3		shared object,
# Core handling from Peter Tobias <tobias@@server.et-inf.fho-emden.de>
# corrections by Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de>
>>16	leshort		4		core file
# Core file detection is not reliable.
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) lelong	>0		(signal %d),
>>16	leshort		&0xff00		processor-specific,
>>18	leshort		0		no machine,
>>18	leshort		1		AT&T WE32100 - invalid byte order,
>>18	leshort		2		SPARC - invalid byte order,
>>18	leshort		3		Intel 80386,
>>18	leshort		4		Motorola
>>>36	lelong		&0x01000000	68000 - invalid byte order,
>>>36	lelong		&0x00810000	CPU32 - invalid byte order,
>>>36	lelong		0		68020 - invalid byte order,
>>18	leshort		5		Motorola 88000 - invalid byte order,
>>18	leshort		6		Intel 80486,
>>18	leshort		7		Intel 80860,
d29 1
a29 5
>>18	leshort		8		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		10		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		8
d52 23
d93 1
a93 1
>>18	leshort		42		Renesas SH,
d97 5
a101 5
>>18	leshort		46		Renesas H8/300,
>>18	leshort		47		Renesas H8/300H,
>>18	leshort		48		Renesas H8S,
>>18	leshort		49		Renesas H8/500,
>>18	leshort		50		IA-64,
d105 1
a105 1
>>18	leshort		62		x86-64,
a107 1
>>18	leshort		94		Tensilica Xtensa,
a108 1
>>18	leshort		106		Analog Devices Blackfin,
a113 19
>>16	beshort		0		no file type,
>>16	beshort		1		relocatable,
>>16	beshort		2		executable,
>>16	beshort		3		shared object,
>>16	beshort		4		core file,
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) belong	>0		(signal %d),
>>16	beshort		&0xff00		processor-specific,
>>18	beshort		0		no machine,
>>18	beshort		1		AT&T WE32100,
>>18	beshort		2		SPARC,
>>18	beshort		3		Intel 80386 - invalid byte order,
>>18	beshort		4		Motorola
>>>36	belong		&0x01000000	68000,
>>>36	belong		&0x00810000	CPU32,
>>>36	belong		0		68020,
>>18	beshort		5		Motorola 88000,
>>18	beshort		6		Intel 80486 - invalid byte order,
>>18	beshort		7		Intel 80860,
d115 1
a115 5
>>18	beshort		8		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		10		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		8
d138 20
d172 1
a172 1
>>18	beshort		21		64-bit PowerPC or cisco 7500,
a173 1
>>18	beshort		23		Cell SPU,
d182 1
a182 1
>>18	beshort		42		Renesas SH,
d186 5
a190 5
>>18	beshort		46		Renesas H8/300,
>>18	beshort		47		Renesas H8/300H,
>>18	beshort		48		Renesas H8S,
>>18	beshort		49		Renesas H8/500,
>>18	beshort		50		IA-64,
a196 1
>>18	beshort		94		Tensilica Xtensa,
a220 3
# VMS Itanium added by gerardo.cacciari@@gmail.com
>8      string          \2
>>7     byte            13              (OpenVMS)
@


1.1.1.3.4.1
log
@Pull up following revision(s) (requested by pooka in ticket #1804):
	dist/file/: synced with HEAD on 20070615
	distrib/sets/lists/base/shl.elf: revision 1.222
	distrib/sets/lists/base/shl.mi: revision 1.375 via patch
	lib/Makefile: revision 1.108 via patch
	lib/libmagic/Makefile: revision 1.5
	lib/libmagic/config.h: patch
	lib/libmagic/shlib_version: revision 1.3-1.4
	tools/file/Makefile: revision 1.4
	usr.bin/file/Makefile: revision 1.51-1.53
Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and
CVE-2007-2799).
@
text
@d14 9
a25 22
>>16	leshort		0		no file type,
>>16	leshort		1		relocatable,
>>16	leshort		2		executable,
>>16	leshort		3		shared object,
# Core handling from Peter Tobias <tobias@@server.et-inf.fho-emden.de>
# corrections by Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de>
>>16	leshort		4		core file
# Core file detection is not reliable.
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) lelong	>0		(signal %d),
>>16	leshort		&0xff00		processor-specific,
>>18	leshort		0		no machine,
>>18	leshort		1		AT&T WE32100 - invalid byte order,
>>18	leshort		2		SPARC - invalid byte order,
>>18	leshort		3		Intel 80386,
>>18	leshort		4		Motorola
>>>36	lelong		&0x01000000	68000 - invalid byte order,
>>>36	lelong		&0x00810000	CPU32 - invalid byte order,
>>>36	lelong		0		68020 - invalid byte order,
>>18	leshort		5		Motorola 88000 - invalid byte order,
>>18	leshort		6		Intel 80486,
>>18	leshort		7		Intel 80860,
d29 1
a29 5
>>18	leshort		8		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		10		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		8
d52 23
d93 1
a93 1
>>18	leshort		42		Renesas SH,
d97 5
a101 5
>>18	leshort		46		Renesas H8/300,
>>18	leshort		47		Renesas H8/300H,
>>18	leshort		48		Renesas H8S,
>>18	leshort		49		Renesas H8/500,
>>18	leshort		50		IA-64,
d105 1
a105 1
>>18	leshort		62		x86-64,
a107 1
>>18	leshort		94		Tensilica Xtensa,
a108 1
>>18	leshort		106		Analog Devices Blackfin,
a113 19
>>16	beshort		0		no file type,
>>16	beshort		1		relocatable,
>>16	beshort		2		executable,
>>16	beshort		3		shared object,
>>16	beshort		4		core file,
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) belong	>0		(signal %d),
>>16	beshort		&0xff00		processor-specific,
>>18	beshort		0		no machine,
>>18	beshort		1		AT&T WE32100,
>>18	beshort		2		SPARC,
>>18	beshort		3		Intel 80386 - invalid byte order,
>>18	beshort		4		Motorola
>>>36	belong		&0x01000000	68000,
>>>36	belong		&0x00810000	CPU32,
>>>36	belong		0		68020,
>>18	beshort		5		Motorola 88000,
>>18	beshort		6		Intel 80486 - invalid byte order,
>>18	beshort		7		Intel 80860,
d115 1
a115 5
>>18	beshort		8		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		10		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		8
d138 20
d172 1
a172 1
>>18	beshort		21		64-bit PowerPC or cisco 7500,
a173 1
>>18	beshort		23		Cell SPU,
d182 1
a182 1
>>18	beshort		42		Renesas SH,
d186 5
a190 5
>>18	beshort		46		Renesas H8/300,
>>18	beshort		47		Renesas H8/300H,
>>18	beshort		48		Renesas H8S,
>>18	beshort		49		Renesas H8/500,
>>18	beshort		50		IA-64,
a196 1
>>18	beshort		94		Tensilica Xtensa,
a220 3
# VMS Itanium added by gerardo.cacciari@@gmail.com
>8      string          \2
>>7     byte            13              (OpenVMS)
@


1.1.1.3.2.1
log
@Pull up following revision(s) (requested by pooka in ticket #1804):
	dist/file/: synced with HEAD on 20070615
	distrib/sets/lists/base/shl.elf: revision 1.222
	distrib/sets/lists/base/shl.mi: revision 1.375 via patch
	lib/Makefile: revision 1.108 via patch
	lib/libmagic/Makefile: revision 1.5
	lib/libmagic/config.h: patch
	lib/libmagic/shlib_version: revision 1.3-1.4
	tools/file/Makefile: revision 1.4
	usr.bin/file/Makefile: revision 1.51-1.53
Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and
CVE-2007-2799).
@
text
@d14 9
a25 22
>>16	leshort		0		no file type,
>>16	leshort		1		relocatable,
>>16	leshort		2		executable,
>>16	leshort		3		shared object,
# Core handling from Peter Tobias <tobias@@server.et-inf.fho-emden.de>
# corrections by Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de>
>>16	leshort		4		core file
# Core file detection is not reliable.
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) lelong	>0		(signal %d),
>>16	leshort		&0xff00		processor-specific,
>>18	leshort		0		no machine,
>>18	leshort		1		AT&T WE32100 - invalid byte order,
>>18	leshort		2		SPARC - invalid byte order,
>>18	leshort		3		Intel 80386,
>>18	leshort		4		Motorola
>>>36	lelong		&0x01000000	68000 - invalid byte order,
>>>36	lelong		&0x00810000	CPU32 - invalid byte order,
>>>36	lelong		0		68020 - invalid byte order,
>>18	leshort		5		Motorola 88000 - invalid byte order,
>>18	leshort		6		Intel 80486,
>>18	leshort		7		Intel 80860,
d29 1
a29 5
>>18	leshort		8		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		10		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		8
d52 23
d93 1
a93 1
>>18	leshort		42		Renesas SH,
d97 5
a101 5
>>18	leshort		46		Renesas H8/300,
>>18	leshort		47		Renesas H8/300H,
>>18	leshort		48		Renesas H8S,
>>18	leshort		49		Renesas H8/500,
>>18	leshort		50		IA-64,
d105 1
a105 1
>>18	leshort		62		x86-64,
a107 1
>>18	leshort		94		Tensilica Xtensa,
a108 1
>>18	leshort		106		Analog Devices Blackfin,
a113 19
>>16	beshort		0		no file type,
>>16	beshort		1		relocatable,
>>16	beshort		2		executable,
>>16	beshort		3		shared object,
>>16	beshort		4		core file,
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) belong	>0		(signal %d),
>>16	beshort		&0xff00		processor-specific,
>>18	beshort		0		no machine,
>>18	beshort		1		AT&T WE32100,
>>18	beshort		2		SPARC,
>>18	beshort		3		Intel 80386 - invalid byte order,
>>18	beshort		4		Motorola
>>>36	belong		&0x01000000	68000,
>>>36	belong		&0x00810000	CPU32,
>>>36	belong		0		68020,
>>18	beshort		5		Motorola 88000,
>>18	beshort		6		Intel 80486 - invalid byte order,
>>18	beshort		7		Intel 80860,
d115 1
a115 5
>>18	beshort		8		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		10		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		8
d138 20
d172 1
a172 1
>>18	beshort		21		64-bit PowerPC or cisco 7500,
a173 1
>>18	beshort		23		Cell SPU,
d182 1
a182 1
>>18	beshort		42		Renesas SH,
d186 5
a190 5
>>18	beshort		46		Renesas H8/300,
>>18	beshort		47		Renesas H8/300H,
>>18	beshort		48		Renesas H8S,
>>18	beshort		49		Renesas H8/500,
>>18	beshort		50		IA-64,
a196 1
>>18	beshort		94		Tensilica Xtensa,
a220 3
# VMS Itanium added by gerardo.cacciari@@gmail.com
>8      string          \2
>>7     byte            13              (OpenVMS)
@


1.1.1.4
log
@file 4.16

Changes since 4.13:
* DragonFly ELF note support
* read buffer dynamically allocated
* Add -h flag and dereference symlinks if POSIXLY_CORRECT
* Avoid search and regex buffer overflows
* cross-compilation fixes
* don't close stdin in the library.
* search for elf notes in shared libraries too.

Now with more magic than ever before!
@
text
@d14 9
a25 22
>>16	leshort		0		no file type,
>>16	leshort		1		relocatable,
>>16	leshort		2		executable,
>>16	leshort		3		shared object,
# Core handling from Peter Tobias <tobias@@server.et-inf.fho-emden.de>
# corrections by Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de>
>>16	leshort		4		core file
# Core file detection is not reliable.
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) lelong	>0		(signal %d),
>>16	leshort		&0xff00		processor-specific,
>>18	leshort		0		no machine,
>>18	leshort		1		AT&T WE32100 - invalid byte order,
>>18	leshort		2		SPARC - invalid byte order,
>>18	leshort		3		Intel 80386,
>>18	leshort		4		Motorola
>>>36	lelong		&0x01000000	68000 - invalid byte order,
>>>36	lelong		&0x00810000	CPU32 - invalid byte order,
>>>36	lelong		0		68020 - invalid byte order,
>>18	leshort		5		Motorola 88000 - invalid byte order,
>>18	leshort		6		Intel 80486,
>>18	leshort		7		Intel 80860,
d29 1
a29 5
>>18	leshort		8		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		10		MIPS,
>>>36	lelong		&0x20		N32
>>18	leshort		8
d52 23
d101 1
a101 1
>>18	leshort		50		IA-64,
a113 19
>>16	beshort		0		no file type,
>>16	beshort		1		relocatable,
>>16	beshort		2		executable,
>>16	beshort		3		shared object,
>>16	beshort		4		core file,
#>>>(0x38+0xcc) string	>\0		of '%s'
#>>>(0x38+0x10) belong	>0		(signal %d),
>>16	beshort		&0xff00		processor-specific,
>>18	beshort		0		no machine,
>>18	beshort		1		AT&T WE32100,
>>18	beshort		2		SPARC,
>>18	beshort		3		Intel 80386 - invalid byte order,
>>18	beshort		4		Motorola
>>>36	belong		&0x01000000	68000,
>>>36	belong		&0x00810000	CPU32,
>>>36	belong		0		68020,
>>18	beshort		5		Motorola 88000,
>>18	beshort		6		Intel 80486 - invalid byte order,
>>18	beshort		7		Intel 80860,
d115 1
a115 5
>>18	beshort		8		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		10		MIPS,
>>>36	belong		&0x20		N32
>>18	beshort		8
d138 20
d190 1
a190 1
>>18	beshort		50		IA-64,
@


1.1.1.5
log
@file 4.18

changes since 4.16: bugfixes, magic improvements, other minor improvements
@
text
@d87 1
a87 1
>>18	leshort		42		Renesas SH,
d91 4
a94 4
>>18	leshort		46		Renesas H8/300,
>>18	leshort		47		Renesas H8/300H,
>>18	leshort		48		Renesas H8S,
>>18	leshort		49		Renesas H8/500,
d179 1
a179 1
>>18	beshort		42		Renesas SH,
d183 4
a186 4
>>18	beshort		46		Renesas H8/300,
>>18	beshort		47		Renesas H8/300H,
>>18	beshort		48		Renesas H8S,
>>18	beshort		49		Renesas H8/500,
a217 3
# VMS Itanium added by gerardo.cacciari@@gmail.com
>8      string          \2
>>7     byte            13              (OpenVMS)
@


1.1.1.5.4.1
log
@Sync w/ NetBSD-4-RC_1
@
text
@d99 1
a99 1
>>18	leshort		62		x86-64,
a101 1
>>18	leshort		94		Tensilica Xtensa,
a102 1
>>18	leshort		106		Analog Devices Blackfin,
d169 1
a169 1
>>18	beshort		21		64-bit PowerPC or cisco 7500,
a170 1
>>18	beshort		23		Cell SPU,
a193 1
>>18	beshort		94		Tensilica Xtensa,
@


1.1.1.5.2.1
log
@Pull up following (requested by pooka in ticket #724):

bring file(1) to 4.21
@
text
@d99 1
a99 1
>>18	leshort		62		x86-64,
a101 1
>>18	leshort		94		Tensilica Xtensa,
a102 1
>>18	leshort		106		Analog Devices Blackfin,
d169 1
a169 1
>>18	beshort		21		64-bit PowerPC or cisco 7500,
a170 1
>>18	beshort		23		Cell SPU,
a193 1
>>18	beshort		94		Tensilica Xtensa,
@


1.1.1.6
log
@file 4.20, contains fixes to the magic parser, new syntax and a
buffer overflow fix
@
text
@d99 1
a99 1
>>18	leshort		62		x86-64,
a101 1
>>18	leshort		94		Tensilica Xtensa,
d169 1
a169 1
>>18	beshort		21		64-bit PowerPC or cisco 7500,
a170 1
>>18	beshort		23		Cell SPU,
a193 1
>>18	beshort		94		Tensilica Xtensa,
@


1.1.1.7
log
@file 4.21.  bugfixes
@
text
@a103 1
>>18	leshort		106		Analog Devices Blackfin,
@


1.1.1.7.12.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d10 1
a10 6
# Created by: unknown
# Modified by (1): Daniel Quinlan <quinlan@@yggdrasil.com>
# Modified by (2): Peter Tobias <tobias@@server.et-inf.fho-emden.de> (core support)
# Modified by (3): Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de> (fix of core support)
# Modified by (4): <gerardo.cacciari@@gmail.com> (VMS Itanium)
# Modified by (5): Matthias Urlichs <smurf@@debian.org> (Listing of many architectures)
a17 2
!:strength *2
!:mime	application/octet-stream
a18 1
!:mime	application/x-object
a19 1
!:mime	application/x-executable
d21 2
a22 1
!:mime	application/x-sharedlib
a23 1
!:mime	application/x-coredump
d54 4
a57 4
>>>>36  lelong&0xf0000000	0x50000000	MIPS32
>>>>36  lelong&0xf0000000	0x60000000	MIPS64
>>>>36  lelong&0xf0000000	0x70000000	MIPS32 rel2
>>>>36  lelong&0xf0000000	0x80000000	MIPS64 rel2
d65 4
a68 4
>>>>48  lelong&0xf0000000	0x50000000	MIPS32
>>>>48  lelong&0xf0000000	0x60000000	MIPS64
>>>>48  lelong&0xf0000000	0x70000000	MIPS32 rel2
>>>>48  lelong&0xf0000000	0x80000000	MIPS64 rel2
d77 1
a77 1
>>18	leshort		18		SPARC32PLUS - invalid byte order,
a98 8
>>18	leshort		54		Fujitsu MMA,
>>18	leshort		55		Siemens PCP,
>>18	leshort		56		Sony nCPU,
>>18	leshort		57		Denso NDR1,
>>18	leshort		58		Start*Core,
>>18	leshort		59		Toyota ME16,
>>18	leshort		60		ST100,
>>18	leshort		61		Tinyj emb.,
a99 10
>>18	leshort		63		Sony DSP,
>>18	leshort		66		FX66,
>>18	leshort		67		ST9+ 8/16 bit,
>>18	leshort		68		ST7 8 bit,
>>18	leshort		69		MC68HC16,
>>18	leshort		70		MC68HC11,
>>18	leshort		71		MC68HC08,
>>18	leshort		72		MC68HC05,
>>18	leshort		73		SGI SVx,
>>18	leshort		74		ST19 8 bit,
a100 12
>>18	leshort		76		Axis cris,
>>18	leshort		77		Infineon 32-bit embedded,
>>18	leshort		78		Element 14 64-bit DSP,
>>18	leshort		79		LSI Logic 16-bit DSP,
>>18	leshort		80		MMIX,
>>18	leshort		81		Harvard machine-independent,
>>18	leshort		82		SiTera Prism,
>>18	leshort		83		Atmel AVR 8-bit,
>>18	leshort		84		Fujitsu FR30,
>>18	leshort		85		Mitsubishi D10V,
>>18	leshort		86		Mitsubishi D30V,
>>18	leshort		87		NEC v850,
a101 7
>>18	leshort		89		Matsushita MN10300,
>>18	leshort		90		Matsushita MN10200,
>>18	leshort		91		picoJava,
>>18	leshort		92		OpenRISC,
>>18	leshort		93		ARC Cores Tangent-A5,
>>18	leshort		0x3426		OpenRISC (obsolete),
>>18	leshort		0x8472		OpenRISC (obsolete),
a110 1
!:mime	application/octet-stream
a111 1
!:mime	application/x-object
a112 1
!:mime	application/x-executable
a113 1
!:mime	application/x-sharedlib
a114 1
!:mime	application/x-coredump
d142 4
a145 4
>>>>36  belong&0xf0000000	0x50000000	MIPS32
>>>>36  belong&0xf0000000	0x60000000	MIPS64
>>>>36  belong&0xf0000000	0x70000000	MIPS32 rel2
>>>>36  belong&0xf0000000	0x80000000	MIPS64 rel2
d153 4
a156 4
>>>>48	belong&0xf0000000	0x50000000	MIPS32
>>>>48	belong&0xf0000000	0x60000000	MIPS64
>>>>48	belong&0xf0000000	0x70000000	MIPS32 rel2
>>>>48	belong&0xf0000000	0x80000000	MIPS64 rel2
d166 4
a169 4
>>>36	belong&0xffff00	0x000100	V8+ Required,
>>>36	belong&0xffff00	0x000200	Sun UltraSPARC1 Extensions Required,
>>>36	belong&0xffff00	0x000400	HaL R1 Extensions Required,
>>>36	belong&0xffff00	0x000800	Sun UltraSPARC3 Extensions Required,
a183 6
>>>48	belong&0xffff00	0x000200	Sun UltraSPARC1 Extensions Required,
>>>48	belong&0xffff00	0x000400	HaL R1 Extensions Required,
>>>48	belong&0xffff00	0x000800	Sun UltraSPARC3 Extensions Required,
>>>48	belong&0x3	0		total store ordering,
>>>48	belong&0x3	1		partial store ordering,
>>>48	belong&0x3	2		relaxed memory ordering,
a196 3
>>18	leshort		92		OpenRISC,
>>18	leshort		0x3426		OpenRISC (obsolete),
>>18	leshort		0x8472		OpenRISC (obsolete),
a198 1
>>18	beshort		0x18ad		AVR32 (unofficial),
d222 1
@


1.1.1.8
log
@try-again for file-4.26
@
text
@d10 1
a10 6
# Created by: unknown
# Modified by (1): Daniel Quinlan <quinlan@@yggdrasil.com>
# Modified by (2): Peter Tobias <tobias@@server.et-inf.fho-emden.de> (core support)
# Modified by (3): Christian 'Dr. Disk' Hechelmann <drdisk@@ds9.au.s.shuttle.de> (fix of core support)
# Modified by (4): <gerardo.cacciari@@gmail.com> (VMS Itanium)
# Modified by (5): Matthias Urlichs <smurf@@debian.org> (Listing of many architectures)
a17 2
!:strength *2
!:mime	application/octet-stream
a18 1
!:mime	application/x-object
a19 1
!:mime	application/x-executable
d21 2
a22 1
!:mime	application/x-sharedlib
a23 1
!:mime	application/x-coredump
d54 4
a57 4
>>>>36  lelong&0xf0000000	0x50000000	MIPS32
>>>>36  lelong&0xf0000000	0x60000000	MIPS64
>>>>36  lelong&0xf0000000	0x70000000	MIPS32 rel2
>>>>36  lelong&0xf0000000	0x80000000	MIPS64 rel2
d65 4
a68 4
>>>>48  lelong&0xf0000000	0x50000000	MIPS32
>>>>48  lelong&0xf0000000	0x60000000	MIPS64
>>>>48  lelong&0xf0000000	0x70000000	MIPS32 rel2
>>>>48  lelong&0xf0000000	0x80000000	MIPS64 rel2
d77 1
a77 1
>>18	leshort		18		SPARC32PLUS - invalid byte order,
a98 8
>>18	leshort		54		Fujitsu MMA,
>>18	leshort		55		Siemens PCP,
>>18	leshort		56		Sony nCPU,
>>18	leshort		57		Denso NDR1,
>>18	leshort		58		Start*Core,
>>18	leshort		59		Toyota ME16,
>>18	leshort		60		ST100,
>>18	leshort		61		Tinyj emb.,
a99 10
>>18	leshort		63		Sony DSP,
>>18	leshort		66		FX66,
>>18	leshort		67		ST9+ 8/16 bit,
>>18	leshort		68		ST7 8 bit,
>>18	leshort		69		MC68HC16,
>>18	leshort		70		MC68HC11,
>>18	leshort		71		MC68HC08,
>>18	leshort		72		MC68HC05,
>>18	leshort		73		SGI SVx,
>>18	leshort		74		ST19 8 bit,
a100 12
>>18	leshort		76		Axis cris,
>>18	leshort		77		Infineon 32-bit embedded,
>>18	leshort		78		Element 14 64-bit DSP,
>>18	leshort		79		LSI Logic 16-bit DSP,
>>18	leshort		80		MMIX,
>>18	leshort		81		Harvard machine-independent,
>>18	leshort		82		SiTera Prism,
>>18	leshort		83		Atmel AVR 8-bit,
>>18	leshort		84		Fujitsu FR30,
>>18	leshort		85		Mitsubishi D10V,
>>18	leshort		86		Mitsubishi D30V,
>>18	leshort		87		NEC v850,
a101 7
>>18	leshort		89		Matsushita MN10300,
>>18	leshort		90		Matsushita MN10200,
>>18	leshort		91		picoJava,
>>18	leshort		92		OpenRISC,
>>18	leshort		93		ARC Cores Tangent-A5,
>>18	leshort		0x3426		OpenRISC (obsolete),
>>18	leshort		0x8472		OpenRISC (obsolete),
a110 1
!:mime	application/octet-stream
a111 1
!:mime	application/x-object
a112 1
!:mime	application/x-executable
a113 1
!:mime	application/x-sharedlib
a114 1
!:mime	application/x-coredump
d142 4
a145 4
>>>>36  belong&0xf0000000	0x50000000	MIPS32
>>>>36  belong&0xf0000000	0x60000000	MIPS64
>>>>36  belong&0xf0000000	0x70000000	MIPS32 rel2
>>>>36  belong&0xf0000000	0x80000000	MIPS64 rel2
d153 4
a156 4
>>>>48	belong&0xf0000000	0x50000000	MIPS32
>>>>48	belong&0xf0000000	0x60000000	MIPS64
>>>>48	belong&0xf0000000	0x70000000	MIPS32 rel2
>>>>48	belong&0xf0000000	0x80000000	MIPS64 rel2
d166 4
a169 4
>>>36	belong&0xffff00	0x000100	V8+ Required,
>>>36	belong&0xffff00	0x000200	Sun UltraSPARC1 Extensions Required,
>>>36	belong&0xffff00	0x000400	HaL R1 Extensions Required,
>>>36	belong&0xffff00	0x000800	Sun UltraSPARC3 Extensions Required,
a183 6
>>>48	belong&0xffff00	0x000200	Sun UltraSPARC1 Extensions Required,
>>>48	belong&0xffff00	0x000400	HaL R1 Extensions Required,
>>>48	belong&0xffff00	0x000800	Sun UltraSPARC3 Extensions Required,
>>>48	belong&0x3	0		total store ordering,
>>>48	belong&0x3	1		partial store ordering,
>>>48	belong&0x3	2		relaxed memory ordering,
a196 3
>>18	leshort		92		OpenRISC,
>>18	leshort		0x3426		OpenRISC (obsolete),
>>18	leshort		0x8472		OpenRISC (obsolete),
a198 1
>>18	beshort		0x18ad		AVR32 (unofficial),
d222 1
@
