scc

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

commit 37cb8ee7d412facd351f0ac236d0600b593b86bd
parent eef02524604f1a9303a807cafaeed78d82232762
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  7 Jan 2019 19:01:39 +0000

[libmach] Add objfmt.c

Diffstat:
Asrc/libmach/objfmt.c | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/libmach/objfmt.c b/src/libmach/objfmt.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +#include <scc/mach.h> +#include "libmach.h" + +extern struct format objcoff32; + +struct format *objfmt[] = { + [COFF32] = &objcoff32, + [NFORMATS] = NULL, +};