"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/bsdi" (17 Mar 2017, 1159 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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