1 #------------------------------------------------------------
2 # Mach has two magic numbers, 0xcafebabe and 0xfeedface.
3 # Unfortunately the first, cafebabe, is shared with
4 # Java ByteCode, so they are both handled in the file "cafebabe".
5 # The "feedface" ones are handled herein.
6 #------------------------------------------------------------
7 0 lelong&0xfffffffe 0xfeedface Mach-O
10 >12 lelong 2 executable
11 >12 lelong 3 fixed virtual memory shared library
13 >12 lelong 5 preload executable
14 >12 lelong 6 dynamically linked shared library
15 >12 lelong 7 dynamic linker
17 >12 lelong 9 dynamically linked shared library stub
19 >>12 lelong x filetype=%ld
21 >>4 lelong x architecture=%ld
24 >4 lelong 3 architecture=3
31 >4 lelong 10 architecture=10
40 >4 lelong 16777234 ppc64
42 >>4 lelong x architecture=%ld
44 0 belong&0xfffffffe 0xfeedface Mach-O
47 >12 belong 2 executable
48 >12 belong 3 fixed virtual memory shared library
50 >12 belong 5 preload executable
51 >12 belong 6 dynamically linked shared library
52 >12 belong 7 dynamic linker
54 >12 belong 9 dynamically linked shared library stub
56 >>12 belong x filetype=%ld
58 >>4 belong x architecture=%ld
61 >4 belong 3 architecture=3
64 >4 belong 6 for m68k architecture
65 # from NeXTstep 3.0 <mach/machine.h>
66 # i.e. mc680x0_all, ignore
67 # >>8 belong 1 (mc68030)
68 >>8 belong 2 (mc68040)
69 >>8 belong 3 (mc68030 only)
73 >4 belong 10 architecture=10
82 >4 belong 16777234 ppc64
84 >>4 belong x architecture=%ld