aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorFrederic Feret <tommy.planet@free.fr>2009-08-27 09:53:50 +0200
committergrischka <grischka>2009-11-13 18:08:59 +0100
commit526c4645048fa469a2941c86a09f4f851a96eb91 (patch)
tree265c37c212c2083a53f92b89b31b2e2a26f1fdf4 /libtcc.c
parent0d768b97130ef2180725c4e585bb482ed0dea105 (diff)
downloadtinycc-526c4645048fa469a2941c86a09f4f851a96eb91.tar.gz
tinycc-526c4645048fa469a2941c86a09f4f851a96eb91.tar.bz2
first support of x86_64 assembly
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index 513de90..e2027da 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -324,9 +324,15 @@ static inline int toup(int c)
#include "tccgen.c"
#ifdef CONFIG_TCC_ASM
+
#ifdef TCC_TARGET_I386
#include "i386-asm.c"
#endif
+
+#ifdef TCC_TARGET_X86_64
+#include "x86_64-asm.c"
+#endif
+
#include "tccasm.c"
#else
static void asm_instr(void)