svn commit: r1742 - in trunk/yasm: modules/objfmts/coff

peter at tortall.net peter at tortall.net
Sat Jan 27 00:42:49 PST 2007


Author: peter
Date: Sat Jan 27 00:42:48 2007
New Revision: 1742

Modified:
   trunk/yasm/modules/objfmts/coff/coff-objfmt.c
   trunk/yasm/out_test.sh
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1742

Log:
Fix #96 by setting the timestamp in the COFF header.  VC2005's incremental linker uses the
timestamp to determine if the object file has been updated, so not setting it makes for
bad behavior (the object file gets updated, but when the executable is linked it uses the
older "internal" version).

To keep tests passing, check an environment variable (YASM_TEST_SUITE); if this exists, the
timestamp is set to 0.  Set this environment variable in out_test.sh.


More information about the yasm-cvs mailing list