Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / file / Magdir / mach
1 #------------------------------------------------------------------------------
2 # mach file description
3 #
4 0       belong          0xcafebabe      Mach-O fat file
5 >4      belong          1               with 1 architecture
6 >4      belong          >1
7 >>4     belong          x               with %ld architectures          
8 #
9 0       belong          0xfeedface      Mach-O
10 >12     belong          1               object
11 >12     belong          2               executable
12 >12     belong          3               shared library
13 >12     belong          4               core
14 >12     belong          5               preload executable
15 >12     belong          >5
16 >>12    belong          x               filetype=%ld
17 >4      belong          <0
18 >>4     belong          x               architecture=%ld
19 >4      belong          1               vax
20 >4      belong          2               romp
21 >4      belong          3               architecture=3
22 >4      belong          4               ns32032
23 >4      belong          5               ns32332
24 >4      belong          6               for m68k architecture
25 # from NeXTstep 3.0 <mach/machine.h>
26 # i.e. mc680x0_all, ignore
27 # >>8   belong          1               (mc68030)
28 >>8     belong          2               (mc68040)
29 >>8     belong          3               (mc68030 only)
30 >4      belong          7               i386
31 >4      belong          8               mips
32 >4      belong          9               ns32532
33 >4      belong          10              architecture=10
34 >4      belong          11              hp pa-risc
35 >4      belong          12              acorn
36 >4      belong          13              m88k
37 >4      belong          14              sparc
38 >4      belong          15              i860-big
39 >4      belong          16              i860
40 >4      belong          17              rs6000
41 >4      belong          18              powerPC
42 >4      belong          >18
43 >>4     belong          x               architecture=%ld