1f72f8299SJan Lentfer 2327e51cbSPeter Avalos#------------------------------------------------------------------------------ 3*82c5fa3eSPeter Avalos# $File: bsdi,v 1.7 2014/03/29 15:40:34 christos Exp $ 4327e51cbSPeter Avalos# bsdi: file(1) magic for BSD/OS (from BSDI) objects 5e8af9738SPeter Avalos# Some object/executable formats use the same magic numbers as are used 6e8af9738SPeter Avalos# in other OSes; those are handled by entries in aout. 7327e51cbSPeter Avalos# 8327e51cbSPeter Avalos 9327e51cbSPeter Avalos0 lelong 0314 386 compact demand paged pure executable 10327e51cbSPeter Avalos>16 lelong >0 not stripped 11327e51cbSPeter Avalos>32 byte 0x6a (uses shared libs) 12327e51cbSPeter Avalos 13327e51cbSPeter Avalos# same as in SunOS 4.x, except for static shared libraries 14*82c5fa3eSPeter Avalos0 belong&077777777 0600413 SPARC demand paged 15327e51cbSPeter Avalos>0 byte &0x80 16327e51cbSPeter Avalos>>20 belong <4096 shared library 17327e51cbSPeter Avalos>>20 belong =4096 dynamically linked executable 18327e51cbSPeter Avalos>>20 belong >4096 dynamically linked executable 19327e51cbSPeter Avalos>0 byte ^0x80 executable 20327e51cbSPeter Avalos>16 belong >0 not stripped 21327e51cbSPeter Avalos>36 belong 0xb4100001 (uses shared libs) 22327e51cbSPeter Avalos 23*82c5fa3eSPeter Avalos0 belong&077777777 0600410 SPARC pure 24327e51cbSPeter Avalos>0 byte &0x80 dynamically linked executable 25327e51cbSPeter Avalos>0 byte ^0x80 executable 26327e51cbSPeter Avalos>16 belong >0 not stripped 27327e51cbSPeter Avalos>36 belong 0xb4100001 (uses shared libs) 28327e51cbSPeter Avalos 29*82c5fa3eSPeter Avalos0 belong&077777777 0600407 SPARC 30327e51cbSPeter Avalos>0 byte &0x80 dynamically linked executable 31327e51cbSPeter Avalos>0 byte ^0x80 executable 32327e51cbSPeter Avalos>16 belong >0 not stripped 33327e51cbSPeter Avalos>36 belong 0xb4100001 (uses shared libs) 34