From b961ba5396ae235b914f8c211af0ffc07e7c6f04 Mon Sep 17 00:00:00 2001 From: James Lyon Date: Fri, 19 Apr 2013 11:08:12 +0100 Subject: 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). --- tcc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tcc.h') 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 ------------ */ -- cgit v1.3.1