aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorJames Lyon <jamesly0n@hotmail.com>2013-04-19 11:08:12 +0100
committerJames Lyon <jamesly0n@hotmail.com>2013-04-19 11:10:13 +0100
commitb961ba5396ae235b914f8c211af0ffc07e7c6f04 (patch)
treea1bfdc3e819b1b643b4da79ca09f2f92c594613a /tcc.h
parent55ea6d3fc175b0e01e2e946ca9b319c1fbe8aa67 (diff)
downloadtinycc-b961ba5396ae235b914f8c211af0ffc07e7c6f04.tar.gz
tinycc-b961ba5396ae235b914f8c211af0ffc07e7c6f04.tar.bz2
Got test1-3 working on x86-64.
There are probably still issues on x86-64 I've missed. I've added a few new tests to abitest, which fail (2x long long and 2x double in a struct should be passed in registers).
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index b336e1f..6289d34 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1201,6 +1201,9 @@ ST_FUNC void decl(int l);
#if defined CONFIG_TCC_BCHECK || defined TCC_TARGET_C67
ST_FUNC Sym *get_sym_ref(CType *type, Section *sec, unsigned long offset, unsigned long size);
#endif
+#ifdef TCC_TARGET_X86_64
+ST_FUNC int classify_x86_64_va_arg(CType *ty);
+#endif
/* ------------ tccelf.c ------------ */