Skip to content

Commit

Permalink
reduce dependence on OMF
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jul 9, 2012
1 parent 51b5b6e commit 782fe63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/glue.c
Expand Up @@ -304,10 +304,10 @@ void Module::genobjfile(int multiobj)
#if 0 /* This should work, but causes optlink to fail in common/newlib.asm */
objextdef(s->Sident);
#else
int nbytes = reftoident(DATA, Offset(DATA), s, 0, I64 ? (CFoff | CFoffset64) : CFoff);
#if OMFOBJ
Offset(DATA) += nbytes;
#endif
Symbol *sref = symbol_generate(SCstatic, type_fake(TYnptr));
sref->Sfl = FLdata;
dtxoff(&sref->Sdt, s, 0, TYnptr);
outdata(sref);
#endif
}
}
Expand Down

0 comments on commit 782fe63

Please sign in to comment.