diff options
Diffstat (limited to 'usr.bin/file/Magdir/microsoft')
-rw-r--r-- | usr.bin/file/Magdir/microsoft | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/file/Magdir/microsoft b/usr.bin/file/Magdir/microsoft index 72bb0df..74d1daf 100644 --- a/usr.bin/file/Magdir/microsoft +++ b/usr.bin/file/Magdir/microsoft @@ -1,5 +1,6 @@ -# -# Microsoft (Xenix, not DOS) + +#------------------------------------------------------------------------------ +# microsoft: file(1) magic for Microsoft Xenix # # "Middle model" stuff, and "Xenix 8086 relocatable or 80286 small # model" lifted from "magic.xenix", with comment "derived empirically; @@ -7,7 +8,7 @@ # # "small model", "large model", "huge model" stuff lifted from XXX # -# XXX - "x.out" collides with PDP-11 archives.... +# XXX - "x.out" collides with PDP-11 archives # 0 string core core file (Xenix) 0 byte 0x80 8086 relocatable (Microsoft) @@ -26,7 +27,10 @@ >0x1c byte &0x40 word-swapped >0x10 lelong >0 not-stripped >0x1e leshort ^0xc000 pre-SysV +>0x1e leshort &0x4000 V2.3 +>0x1e leshort &0x8000 V3.0 >0x1c byte &0x4 86 +>0x1c byte &0xb 186 >0x1c byte &0x9 286 >0x1c byte &0xa 386 >0x1f byte <0x040 small model |