xref: /freebsd/contrib/file/magic/Magdir/smalltalk (revision 246e7a2b6494cd991b08ac669ed761ecea0cc98c)
1*b6cee71dSXin LI
2*b6cee71dSXin LI#-----------------------------------------------
3*b6cee71dSXin LI# $File: smalltalk,v 1.5 2009/09/19 16:28:12 christos Exp $
4*b6cee71dSXin LI# GNU Smalltalk image, starting at version 1.6.2
5*b6cee71dSXin LI# From: catull_us@yahoo.com
6*b6cee71dSXin LI#
7*b6cee71dSXin LI0	string	GSTIm\0\0	GNU SmallTalk
8*b6cee71dSXin LI# little-endian
9*b6cee71dSXin LI>7	byte&1	=0		LE image version
10*b6cee71dSXin LI>>10	byte	x		%d.
11*b6cee71dSXin LI>>9	byte	x		\b%d.
12*b6cee71dSXin LI>>8	byte	x		\b%d
13*b6cee71dSXin LI#>>12	lelong	x		, data: %ld
14*b6cee71dSXin LI#>>16	lelong	x		, table: %ld
15*b6cee71dSXin LI#>>20	lelong	x		, memory: %ld
16*b6cee71dSXin LI# big-endian
17*b6cee71dSXin LI>7	byte&1	=1		BE image version
18*b6cee71dSXin LI>>8	byte	x		%d.
19*b6cee71dSXin LI>>9	byte	x		\b%d.
20*b6cee71dSXin LI>>10	byte	x		\b%d
21*b6cee71dSXin LI#>>12	belong	x		, data: %ld
22*b6cee71dSXin LI#>>16	belong	x		, table: %ld
23*b6cee71dSXin LI#>>20	belong	x		, memory: %ld
24*b6cee71dSXin LI
25*b6cee71dSXin LI
26