ref: 2ea762ec4b8f9122b81773feb127f391f631ddcb
parent: 2b1d0de25b9fa7aea6d32bf7d423d24e08becbe7
parent: d9eeaec45f1f206922711c3dcd6787be15aaefe7
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Jun 12 05:08:30 EDT 2018
Merge branch 'master' of ssh://simple-cc.org:/var/gitrepos/scc
--- a/inc/coff32/aouthdr.h
+++ b/inc/coff32/aouthdr.h
@@ -13,3 +13,10 @@
};
typedef struct aouthdr AOUTHDR;
+
+#define QMAGIC 0314
+#define STMAGIC 0401
+#define OMAGIC 0404
+#define JMAGIC 0407
+#define DMAGIC 0410
+#define ZMAGIC 0413
--- a/inc/coff32/filehdr.h
+++ b/inc/coff32/filehdr.h
@@ -14,13 +14,18 @@
#define FILHDR struct filehdr
#define FILHSZ 20
-#define F_RELFLG (1 << 0)
-#define F_EXEC (1 << 1)
-#define F_LMNO (1 << 2)
-#define F_SYMS (1 << 3)
-#define F_AR16WR (1 << 4)
-#define F_AR32WR (1 << 5)
-#define F_A32WR (1 << 6)
+#define F_RELFLG 0000001
+#define F_EXEC 0000002
+#define F_LMNO 0000004
+#define F_SYMS 0000010
+#define F_MINMAL 0000020
+#define F_UPDATE 0000040
+#define F_SWADB 0000100
+#define F_AR16WR 0000200
+#define F_AR32WR 0000400
+#define F_A32WR 0001000
+#define F_PATCH 0002000
+#define F_NODF 0002000
#define COFF_I386MAGIC 0x014c
#define COFF_Z80MAGIC 0x805a