summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/smalltalk
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-06-03 03:14:21 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-06-03 03:14:21 +0000
commit6ae9a9c3ff9f316b2f59d8aec767217158f3d5cd (patch)
treecb97f5624efe0be7ad46e8b83ca205da2d4f5688 /usr.bin/file/magdir/smalltalk
parentf7123bd2ecd05d3faf2106f2a1b268c741043b08 (diff)
merge in new magic from file 4.09. Mostly from Bruno Rohee
Diffstat (limited to 'usr.bin/file/magdir/smalltalk')
-rw-r--r--usr.bin/file/magdir/smalltalk25
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/smalltalk b/usr.bin/file/magdir/smalltalk
new file mode 100644
index 00000000000..1d360197adf
--- /dev/null
+++ b/usr.bin/file/magdir/smalltalk
@@ -0,0 +1,25 @@
+# $OpenBSD: smalltalk,v 1.1 2004/06/03 03:14:20 tedu Exp $
+
+#-----------------------------------------------
+# GNU Smalltalk image, starting at version 1.6.2
+# From: catull_us@yahoo.com
+#
+0 string GSTIm\0\0 GNU SmallTalk
+# little-endian
+>7 byte&1 =0 LE image version
+>>10 byte x %d.
+>>9 byte x \b%d.
+>>8 byte x \b%d
+#>>12 lelong x , data: %ld
+#>>16 lelong x , table: %ld
+#>>20 lelong x , memory: %ld
+# big-endian
+>7 byte&1 =1 BE image version
+>>8 byte x %d.
+>>9 byte x \b%d.
+>>10 byte x \b%d
+#>>12 belong x , data: %ld
+#>>16 belong x , table: %ld
+#>>20 belong x , memory: %ld
+
+