netbsd 7.9 KB

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