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 97d8c73 commit d5817b7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/glue.c
Expand Up @@ -305,12 +305,10 @@ void Module::genobjfile(int multiobj)
#if 0 /* This should work, but causes optlink to fail in common/newlib.asm */
objextdef(s->Sident);
#else
#if ELFOBJ || MACHOBJ
int nbytes = reftoident(DATA, Offset(DATA), s, 0, I64 ? (CFoff | CFoffset64) : CFoff);
#else
int nbytes = reftoident(DATA, Doffset, s, 0, CFoff);
Doffset += 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 d5817b7

Please sign in to comment.