ref: c56added1b7434a96dbe34a6dc5e7637a9c9adc2
parent: c32c0377e6dfe16c281b3f72bd6264054f2aba35
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Jan 7 14:01:39 EST 2019
[libmach] Add objfmt.c
--- /dev/null
+++ b/src/libmach/objfmt.c
@@ -1,0 +1,11 @@
+#include <stdio.h>
+
+#include <scc/mach.h>
+#include "libmach.h"
+
+extern struct format objcoff32;
+
+struct format *objfmt[] = {
+ [COFF32] = &objcoff32,
+ [NFORMATS] = NULL,
+};