void obj_start(char *srcfile) { //printf("obj_start()\n"); rtlsym_reset(); slist_reset(); clearStringTab(); obj_init(&objbuf, srcfile, NULL); el_reset(); cg87_reset(); out_reset(); }
void obj_start(char *srcfile) { //printf("obj_start()\n"); rtlsym_reset(); clearStringTab(); #if TARGET_WINDOS // Produce Ms COFF files for 64 bit code, OMF for 32 bit code assert(objbuf.size() == 0); objmod = global.params.mscoff ? MsCoffObj::init(&objbuf, srcfile, NULL) : Obj::init(&objbuf, srcfile, NULL); #else objmod = Obj::init(&objbuf, srcfile, NULL); #endif el_reset(); cg87_reset(); out_reset(); }