public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Deterministic windres coff output
@ 2013-10-15 22:02 Cory Fields
  2013-11-14 14:19 ` nick clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Cory Fields @ 2013-10-15 22:02 UTC (permalink / raw)
  To: binutils; +Cc: nick clifton

While in the process of adding an option to create deterministic
.exe/dll from ld, I noticed that timestamps are also inserted into
object files produced by windres.
So the output of windres (in coff mode) is never deterministic.

I began hooking up an option for reversing this, but the more I think
about it, the more it's beginning to seem like a bug rather than
intended behavior.

So before I go any further with adding an option, I'll ask:
Is it necessary to insert a real timestamp in this situation? If ld is
not deterministic then the resulting image won't be either, so the
end-result is (relatively) unaffected. Unless of course a
deterministic image is desired in the end (with forthcoming patches to
ld), in which case this behavior gets in the way.

I can send along a patch either way, but changing the behavior without
adding an option makes the most sense to me.

Please advise.

Regards,
Cory

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Deterministic windres coff output
  2013-10-15 22:02 Deterministic windres coff output Cory Fields
@ 2013-11-14 14:19 ` nick clifton
  0 siblings, 0 replies; 2+ messages in thread
From: nick clifton @ 2013-11-14 14:19 UTC (permalink / raw)
  To: cory, binutils

Hi Cory,

> So before I go any further with adding an option, I'll ask:
> Is it necessary to insert a real timestamp in this situation?

No.


> I can send along a patch either way,

Please do.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-14 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15 22:02 Deterministic windres coff output Cory Fields
2013-11-14 14:19 ` nick clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).