Class pointers need to be directly addressable.

This commit is contained in:
Bill Currie 2011-02-13 16:05:50 +09:00
parent 0b5565396b
commit 8a314e9e87

View file

@ -1019,7 +1019,7 @@ class_pointer_symbol (class_t *class)
sym = make_symbol (va ("_OBJ_CLASS_POINTER_%s", class->name),
&type_ClassPtr,
pr.far_data, st_static);
pr.near_data, st_static);
if (!sym->table)
symtab_addsymbol (pr.symtab, sym);
def = sym->s.def;