x86_64: fix loading of LLOCAL floats

See also commit 9527c4949f

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.
This commit is contained in:
grischka
2012-03-05 20:19:28 +01:00
parent a35b3059bb
commit ae191c3a61
2 changed files with 9 additions and 5 deletions

2
tcc.h
View File

@ -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