From 0cb112f7400187275da81a05a9ad0534f1430139 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 22 Nov 2013 14:54:33 +0000 Subject: * windres.c (define_resource): Use zero for timestamp, making output deterministic. time.h include is no longer needed. * resres.c (res_append_resource): Likewise. * pe-dll.c (fill_edata): Only use a real timestamp if --insert-timestamp was used. * emultempl/pe.em: Add the --insert-timestamp option. * emultempl/pep.em: Likewise for 64bit. * ld.texinfo: Document the --insert-timestamp option. * libcoff-in.h: Add insert_timestamp flag to the pe_data struct. * libcoff.h: Regenerate. * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Only use a real timestamp if --insert-timestamp was used. --- ld/ld.texinfo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ld/ld.texinfo') diff --git a/ld/ld.texinfo b/ld/ld.texinfo index e4788f6..c925ecb 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -2657,6 +2657,11 @@ The driver uses the MS Windows Driver Model. @item --tsaware The image is Terminal Server aware. +@kindex --insert-timestamp +@item --insert-timestamp +Insert a real timestamp into the image, rather than the default value +of zero. This will result in a slightly different results with each +invocation, which could be helpful for distributing unique images. @end table @c man end -- cgit v1.1