vm: merge i386 and arm pagetable code
[minix.git] / external / bsd / file / dist / magic / magdir / netbsd
bloba889a31ecc5e7cebb7fc5865c54a35a9f6ca0a82
2 #------------------------------------------------------------------------------
3 # $File: netbsd,v 1.18 2009/09/19 16:28:11 christos Exp $
4 # netbsd:  file(1) magic for NetBSD objects
6 # All new-style magic numbers are in network byte order.
9 0       lelong                  000000407       a.out NetBSD little-endian object file
10 >16     lelong                  >0              not stripped
11 0       belong                  000000407       a.out NetBSD big-endian object file
12 >16     belong                  >0              not stripped
14 0       belong&0377777777       041400413       a.out NetBSD/i386 demand paged
15 >0      byte                    &0x80           
16 >>20    lelong                  <4096           shared library
17 >>20    lelong                  =4096           dynamically linked executable
18 >>20    lelong                  >4096           dynamically linked executable
19 >0      byte                    ^0x80           executable
20 >16     lelong                  >0              not stripped
21 0       belong&0377777777       041400410       a.out NetBSD/i386 pure
22 >0      byte                    &0x80           dynamically linked executable
23 >0      byte                    ^0x80           executable
24 >16     lelong                  >0              not stripped
25 0       belong&0377777777       041400407       a.out NetBSD/i386
26 >0      byte                    &0x80           dynamically linked executable
27 >0      byte                    ^0x80
28 >>0     byte                    &0x40           position independent
29 >>20    lelong                  !0              executable
30 >>20    lelong                  =0              object file
31 >16     lelong                  >0              not stripped
32 0       belong&0377777777       041400507       a.out NetBSD/i386 core
33 >12     string                  >\0             from '%s'
34 >32     lelong                  !0              (signal %d)
36 0       belong&0377777777       041600413       a.out NetBSD/m68k demand paged
37 >0      byte                    &0x80           
38 >>20    belong                  <8192           shared library
39 >>20    belong                  =8192           dynamically linked executable
40 >>20    belong                  >8192           dynamically linked executable
41 >0      byte                    ^0x80           executable
42 >16     belong                  >0              not stripped
43 0       belong&0377777777       041600410       a.out NetBSD/m68k pure
44 >0      byte                    &0x80           dynamically linked executable
45 >0      byte                    ^0x80           executable
46 >16     belong                  >0              not stripped
47 0       belong&0377777777       041600407       a.out NetBSD/m68k
48 >0      byte                    &0x80           dynamically linked executable
49 >0      byte                    ^0x80
50 >>0     byte                    &0x40           position independent
51 >>20    belong                  !0              executable
52 >>20    belong                  =0              object file
53 >16     belong                  >0              not stripped
54 0       belong&0377777777       041600507       a.out NetBSD/m68k core
55 >12     string                  >\0             from '%s'
56 >32     belong                  !0              (signal %d)
58 0       belong&0377777777       042000413       a.out NetBSD/m68k4k demand paged
59 >0      byte                    &0x80           
60 >>20    belong                  <4096           shared library
61 >>20    belong                  =4096           dynamically linked executable
62 >>20    belong                  >4096           dynamically linked executable
63 >0      byte                    ^0x80           executable
64 >16     belong                  >0              not stripped
65 0       belong&0377777777       042000410       a.out NetBSD/m68k4k pure
66 >0      byte                    &0x80           dynamically linked executable
67 >0      byte                    ^0x80           executable
68 >16     belong                  >0              not stripped
69 0       belong&0377777777       042000407       a.out NetBSD/m68k4k
70 >0      byte                    &0x80           dynamically linked executable
71 >0      byte                    ^0x80
72 >>0     byte                    &0x40           position independent
73 >>20    belong                  !0              executable
74 >>20    belong                  =0              object file
75 >16     belong                  >0              not stripped
76 0       belong&0377777777       042000507       a.out NetBSD/m68k4k core
77 >12     string                  >\0             from '%s'
78 >32     belong                  !0              (signal %d)
80 0       belong&0377777777       042200413       a.out NetBSD/ns32532 demand paged
81 >0      byte                    &0x80           
82 >>20    lelong                  <4096           shared library
83 >>20    lelong                  =4096           dynamically linked executable
84 >>20    lelong                  >4096           dynamically linked executable
85 >0      byte                    ^0x80           executable
86 >16     lelong                  >0              not stripped
87 0       belong&0377777777       042200410       a.out NetBSD/ns32532 pure
88 >0      byte                    &0x80           dynamically linked executable
89 >0      byte                    ^0x80           executable
90 >16     lelong                  >0              not stripped
91 0       belong&0377777777       042200407       a.out NetBSD/ns32532
92 >0      byte                    &0x80           dynamically linked executable
93 >0      byte                    ^0x80
94 >>0     byte                    &0x40           position independent
95 >>20    lelong                  !0              executable
96 >>20    lelong                  =0              object file
97 >16     lelong                  >0              not stripped
98 0       belong&0377777777       042200507       a.out NetBSD/ns32532 core
99 >12     string                  >\0             from '%s'
100 >32     lelong                  !0              (signal %d)
102 0       belong&0377777777       045200507       a.out NetBSD/powerpc core
103 >12     string                  >\0             from '%s'
105 0       belong&0377777777       042400413       a.out NetBSD/sparc demand paged
106 >0      byte                    &0x80           
107 >>20    belong                  <8192           shared library
108 >>20    belong                  =8192           dynamically linked executable
109 >>20    belong                  >8192           dynamically linked executable
110 >0      byte                    ^0x80           executable
111 >16     belong                  >0              not stripped
112 0       belong&0377777777       042400410       a.out NetBSD/sparc pure
113 >0      byte                    &0x80           dynamically linked executable
114 >0      byte                    ^0x80           executable
115 >16     belong                  >0              not stripped
116 0       belong&0377777777       042400407       a.out NetBSD/sparc
117 >0      byte                    &0x80           dynamically linked executable
118 >0      byte                    ^0x80
119 >>0     byte                    &0x40           position independent
120 >>20    belong                  !0              executable
121 >>20    belong                  =0              object file
122 >16     belong                  >0              not stripped
123 0       belong&0377777777       042400507       a.out NetBSD/sparc core
124 >12     string                  >\0             from '%s'
125 >32     belong                  !0              (signal %d)
127 0       belong&0377777777       042600413       a.out NetBSD/pmax demand paged
128 >0      byte                    &0x80           
129 >>20    lelong                  <4096           shared library
130 >>20    lelong                  =4096           dynamically linked executable
131 >>20    lelong                  >4096           dynamically linked executable
132 >0      byte                    ^0x80           executable
133 >16     lelong                  >0              not stripped
134 0       belong&0377777777       042600410       a.out NetBSD/pmax pure
135 >0      byte                    &0x80           dynamically linked executable
136 >0      byte                    ^0x80           executable
137 >16     lelong                  >0              not stripped
138 0       belong&0377777777       042600407       a.out NetBSD/pmax
139 >0      byte                    &0x80           dynamically linked executable
140 >0      byte                    ^0x80
141 >>0     byte                    &0x40           position independent
142 >>20    lelong                  !0              executable
143 >>20    lelong                  =0              object file
144 >16     lelong                  >0              not stripped
145 0       belong&0377777777       042600507       a.out NetBSD/pmax core
146 >12     string                  >\0             from '%s'
147 >32     lelong                  !0              (signal %d)
149 0       belong&0377777777       043000413       a.out NetBSD/vax 1k demand paged
150 >0      byte                    &0x80           
151 >>20    lelong                  <4096           shared library
152 >>20    lelong                  =4096           dynamically linked executable
153 >>20    lelong                  >4096           dynamically linked executable
154 >0      byte                    ^0x80           executable
155 >16     lelong                  >0              not stripped
156 0       belong&0377777777       043000410       a.out NetBSD/vax 1k pure
157 >0      byte                    &0x80           dynamically linked executable
158 >0      byte                    ^0x80           executable
159 >16     lelong                  >0              not stripped
160 0       belong&0377777777       043000407       a.out NetBSD/vax 1k
161 >0      byte                    &0x80           dynamically linked executable
162 >0      byte                    ^0x80
163 >>0     byte                    &0x40           position independent
164 >>20    lelong                  !0              executable
165 >>20    lelong                  =0              object file
166 >16     lelong                  >0              not stripped
167 0       belong&0377777777       043000507       a.out NetBSD/vax 1k core
168 >12     string                  >\0             from '%s'
169 >32     lelong                  !0              (signal %d)
171 0       belong&0377777777       045400413       a.out NetBSD/vax 4k demand paged
172 >0      byte                    &0x80           
173 >>20    lelong                  <4096           shared library
174 >>20    lelong                  =4096           dynamically linked executable
175 >>20    lelong                  >4096           dynamically linked executable
176 >0      byte                    ^0x80           executable
177 >16     lelong                  >0              not stripped
178 0       belong&0377777777       045400410       a.out NetBSD/vax 4k pure
179 >0      byte                    &0x80           dynamically linked executable
180 >0      byte                    ^0x80           executable
181 >16     lelong                  >0              not stripped
182 0       belong&0377777777       045400407       a.out NetBSD/vax 4k
183 >0      byte                    &0x80           dynamically linked executable
184 >0      byte                    ^0x80
185 >>0     byte                    &0x40           position independent
186 >>20    lelong                  !0              executable
187 >>20    lelong                  =0              object file
188 >16     lelong                  >0              not stripped
189 0       belong&0377777777       045400507       a.out NetBSD/vax 4k core
190 >12     string                  >\0             from '%s'
191 >32     lelong                  !0              (signal %d)
193 # NetBSD/alpha does not support (and has never supported) a.out objects,
194 # so no rules are provided for them.  NetBSD/alpha ELF objects are 
195 # dealt with in "elf".
196 0       lelong          0x00070185              ECOFF NetBSD/alpha binary
197 >10     leshort         0x0001                  not stripped
198 >10     leshort         0x0000                  stripped
199 0       belong&0377777777       043200507       a.out NetBSD/alpha core
200 >12     string                  >\0             from '%s'
201 >32     lelong                  !0              (signal %d)
203 0       belong&0377777777       043400413       a.out NetBSD/mips demand paged
204 >0      byte                    &0x80           
205 >>20    belong                  <8192           shared library
206 >>20    belong                  =8192           dynamically linked executable
207 >>20    belong                  >8192           dynamically linked executable
208 >0      byte                    ^0x80           executable
209 >16     belong                  >0              not stripped
210 0       belong&0377777777       043400410       a.out NetBSD/mips pure
211 >0      byte                    &0x80           dynamically linked executable
212 >0      byte                    ^0x80           executable
213 >16     belong                  >0              not stripped
214 0       belong&0377777777       043400407       a.out NetBSD/mips
215 >0      byte                    &0x80           dynamically linked executable
216 >0      byte                    ^0x80
217 >>0     byte                    &0x40           position independent
218 >>20    belong                  !0              executable
219 >>20    belong                  =0              object file
220 >16     belong                  >0              not stripped
221 0       belong&0377777777       043400507       a.out NetBSD/mips core
222 >12     string                  >\0             from '%s'
223 >32     belong                  !0              (signal %d)
225 0       belong&0377777777       043600413       a.out NetBSD/arm32 demand paged
226 >0      byte                    &0x80
227 >>20    lelong                  <4096           shared library
228 >>20    lelong                  =4096           dynamically linked executable
229 >>20    lelong                  >4096           dynamically linked executable
230 >0      byte                    ^0x80           executable
231 >16     lelong                  >0              not stripped
232 0       belong&0377777777       043600410       a.out NetBSD/arm32 pure
233 >0      byte                    &0x80           dynamically linked executable
234 >0      byte                    ^0x80           executable
235 >16     lelong                  >0              not stripped
236 0       belong&0377777777       043600407       a.out NetBSD/arm32
237 >0      byte                    &0x80           dynamically linked executable
238 >0      byte                    ^0x80
239 >>0     byte                    &0x40           position independent
240 >>20    lelong                  !0              executable
241 >>20    lelong                  =0              object file
242 >16     lelong                  >0              not stripped
243 # NetBSD/arm26 has always used ELF objects, but it shares a core file
244 # format with NetBSD/arm32.
245 0       belong&0377777777       043600507       a.out NetBSD/arm core
246 >12     string                  >\0             from '%s'
247 >32     lelong                  !0              (signal %d)