scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 0fdd9b7a408f78c81edac7b30d73d79eac6bb312
parent 8bfbd408ed2835a39abe06c5ec47683d81c61419
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 12 Jun 2018 09:08:30 +0100

Merge branch 'master' of ssh://simple-cc.org:/var/gitrepos/scc

Diffstat:
Minc/coff32/aouthdr.h | 7+++++++
Minc/coff32/filehdr.h | 19++++++++++++-------
2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/inc/coff32/aouthdr.h b/inc/coff32/aouthdr.h @@ -13,3 +13,10 @@ struct aouthdr { }; typedef struct aouthdr AOUTHDR; + +#define QMAGIC 0314 +#define STMAGIC 0401 +#define OMAGIC 0404 +#define JMAGIC 0407 +#define DMAGIC 0410 +#define ZMAGIC 0413 diff --git a/inc/coff32/filehdr.h b/inc/coff32/filehdr.h @@ -14,13 +14,18 @@ struct filehdr { #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