aboutsummaryrefslogtreecommitdiff
path: root/tcctok.h
diff options
context:
space:
mode:
authorJames Lyon <jamesly0n@hotmail.com>2013-04-24 02:19:15 +0100
committerJames Lyon <jamesly0n@hotmail.com>2013-04-24 02:19:15 +0100
commit5c35ba66c5ade4713bbd9c005e66889f6d7db293 (patch)
tree1d513aae71d8264643f8b1d7b5c31472653c0c2e /tcctok.h
parent8a81f9e1036637e21a47e14fb56bf64133546890 (diff)
downloadtinycc-5c35ba66c5ade4713bbd9c005e66889f6d7db293.tar.gz
tinycc-5c35ba66c5ade4713bbd9c005e66889f6d7db293.tar.bz2
64-bit tests now pass (well, nearly).
tcctest1-3 fail, but this appears to be due to bugs in GCC rather than TCC (from manual inspection of the output).
Diffstat (limited to 'tcctok.h')
-rw-r--r--tcctok.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcctok.h b/tcctok.h
index f754af5..fde13dd 100644
--- a/tcctok.h
+++ b/tcctok.h
@@ -125,8 +125,12 @@
DEF(TOK_builtin_constant_p, "__builtin_constant_p")
DEF(TOK_builtin_frame_address, "__builtin_frame_address")
#ifdef TCC_TARGET_X86_64
+#ifdef TCC_TARGET_PE
+ DEF(TOK_builtin_va_start, "__builtin_va_start")
+#else
DEF(TOK_builtin_va_arg_types, "__builtin_va_arg_types")
#endif
+#endif
DEF(TOK_REGPARM1, "regparm")
DEF(TOK_REGPARM2, "__regparm__")