aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/src/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcc/src/bind.c')
-rwxr-xr-xlcc/src/bind.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/lcc/src/bind.c b/lcc/src/bind.c
new file mode 100755
index 0000000..3723e37
--- /dev/null
+++ b/lcc/src/bind.c
@@ -0,0 +1,23 @@
+#include "c.h"
+extern Interface alphaIR;
+extern Interface mipsebIR, mipselIR;
+extern Interface sparcIR, solarisIR;
+extern Interface x86IR, x86linuxIR;
+extern Interface symbolicIR, symbolic64IR;
+extern Interface nullIR;
+extern Interface bytecodeIR;
+Binding bindings[] = {
+ "alpha/osf", &alphaIR,
+ "mips/irix", &mipsebIR,
+ "mips/ultrix", &mipselIR,
+ "sparc/sun", &sparcIR,
+ "sparc/solaris", &solarisIR,
+ "x86/win32", &x86IR,
+ "x86/linux", &x86linuxIR,
+ "symbolic/osf", &symbolic64IR,
+ "symbolic/irix", &symbolicIR,
+ "symbolic", &symbolicIR,
+ "null", &nullIR,
+ "bytecode", &bytecodeIR,
+ NULL, NULL
+};