summaryrefslogtreecommitdiff
path: root/lcc/bind.c
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:14:36 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:14:36 +0900
commit993d65531741fccf26fc10fc5789a5c9fca8c5ae (patch)
tree996be9095a97ff2aac0d98963b6044d47a0ec60c /lcc/bind.c
parent65c26d26fb72cec0d43d199c72ed27513d17f4c9 (diff)
downloadnasm-993d65531741fccf26fc10fc5789a5c9fca8c5ae.tar.gz
nasm-993d65531741fccf26fc10fc5789a5c9fca8c5ae.tar.bz2
nasm-993d65531741fccf26fc10fc5789a5c9fca8c5ae.zip
Diffstat (limited to 'lcc/bind.c')
-rw-r--r--lcc/bind.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/lcc/bind.c b/lcc/bind.c
new file mode 100644
index 0000000..286431d
--- /dev/null
+++ b/lcc/bind.c
@@ -0,0 +1,23 @@
+#include "c.h"
+extern Interface nullIR, symbolicIR;
+extern Interface mipsebIR, mipselIR;
+extern Interface sparcIR, solarisIR;
+extern Interface x86IR, x86nasmIR;
+Binding bindings[] = {
+ "symbolic", &symbolicIR,
+ "mips-irix", &mipsebIR,
+ "mips-ultrix", &mipselIR,
+ "sparc-sun", &sparcIR,
+ "sparc-solaris", &solarisIR,
+ "x86-dos", &x86IR,
+ "x86-nasm", &x86nasmIR,
+ "symbolic/irix", &symbolicIR, /* omit */
+ "mips/irix", &mipsebIR, /* omit */
+ "mips/ultrix", &mipselIR, /* omit */
+ "sparc/sun", &sparcIR, /* omit */
+ "sparc/solaris", &solarisIR, /* omit */
+ "x86/dos", &x86IR, /* omit */
+ "x86/nasm", &x86nasmIR, /* omit */
+ "null", &nullIR,
+ NULL, NULL
+};