From ae191c3a619db25e3c9d4b6c89d1a9970563d825 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 5 Mar 2012 20:19:28 +0100 Subject: x86_64: fix loading of LLOCAL floats See also commit 9527c4949fd94adb2567229413c70c19b663a118 On x86_64 we need to extend the reg_classes array because load() is called for (at least) R11 too, which was not part of reg_classes previously. --- tcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index a5ae144..bfd7e9c 100644 --- a/tcc.h +++ b/tcc.h @@ -1358,7 +1358,7 @@ ST_FUNC void *resolve_sym(TCCState *s1, const char *symbol); #endif #undef TARGET_DEFS_ONLY -ST_DATA const int reg_classes[NB_REGS]; +ST_DATA const int reg_classes[]; /********************************************************/ #undef ST_DATA -- cgit v1.3.1