summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/adi
blob: a9c5a3f2302c1500e7c1a1874d8c15b3f1a0a948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#	$OpenBSD: adi,v 1.1 2004/06/03 03:14:19 tedu Exp $

#------------------------------------------------------------------------------
# adi: file(1) magic for ADi's objects
# From Gregory McGarry <g.mcgarry@ieee.org>
#
0	leshort		0x521c		COFF DSP21k
>18	lelong		&02		executable,
>18	lelong		^02
>>18	lelong		&01		static object,
>>18	lelong		^01		relocatable object,
>18	lelong		&010		stripped
>18	lelong		^010		not stripped