aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/common.h b/common.h
index c3ccc63..862a271 100644
--- a/common.h
+++ b/common.h
@@ -160,9 +160,13 @@ extern struct inclpaths {
/* Target */
/**********/
-enum mcisa { ISx86_64 };
+struct targtriple {
+ enum mcarch { ISxxx, ISx86_64 } arch;
+ enum mcos { OSunknown, OSlinux } os;
+ enum mcabi { ABInone, ABIgnu, ABImusl } abi;
+};
extern const struct mctarg *mctarg;
-extern enum mcisa targ_mcisa;
+extern struct targtriple target;
void targ_init(const char *);
/*********/