1835f6802SDirk Vogt 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*0a6a1f1dSLionel Sambuc# $File: bsdi,v 1.7 2014/03/29 15:40:34 christos Exp $ 4ef01931fSBen Gras# bsdi: file(1) magic for BSD/OS (from BSDI) objects 584d9c625SLionel Sambuc# Some object/executable formats use the same magic numbers as are used 684d9c625SLionel Sambuc# in other OSes; those are handled by entries in aout. 7ef01931fSBen Gras# 8ef01931fSBen Gras 9ef01931fSBen Gras0 lelong 0314 386 compact demand paged pure executable 10ef01931fSBen Gras>16 lelong >0 not stripped 11ef01931fSBen Gras>32 byte 0x6a (uses shared libs) 12ef01931fSBen Gras 13ef01931fSBen Gras# same as in SunOS 4.x, except for static shared libraries 14*0a6a1f1dSLionel Sambuc0 belong&077777777 0600413 SPARC demand paged 15ef01931fSBen Gras>0 byte &0x80 16ef01931fSBen Gras>>20 belong <4096 shared library 17ef01931fSBen Gras>>20 belong =4096 dynamically linked executable 18ef01931fSBen Gras>>20 belong >4096 dynamically linked executable 19ef01931fSBen Gras>0 byte ^0x80 executable 20ef01931fSBen Gras>16 belong >0 not stripped 21ef01931fSBen Gras>36 belong 0xb4100001 (uses shared libs) 22ef01931fSBen Gras 23*0a6a1f1dSLionel Sambuc0 belong&077777777 0600410 SPARC pure 24ef01931fSBen Gras>0 byte &0x80 dynamically linked executable 25ef01931fSBen Gras>0 byte ^0x80 executable 26ef01931fSBen Gras>16 belong >0 not stripped 27ef01931fSBen Gras>36 belong 0xb4100001 (uses shared libs) 28ef01931fSBen Gras 29*0a6a1f1dSLionel Sambuc0 belong&077777777 0600407 SPARC 30ef01931fSBen Gras>0 byte &0x80 dynamically linked executable 31ef01931fSBen Gras>0 byte ^0x80 executable 32ef01931fSBen Gras>16 belong >0 not stripped 33ef01931fSBen Gras>36 belong 0xb4100001 (uses shared libs) 34