aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorLinda Zhang <lindasc@qq.com>2014-06-26 12:18:39 +0100
committerNick Clifton <nickc@redhat.com>2014-06-26 12:18:39 +0100
commiteeb14e5a5b378450ca2ed139e76f317f491f4613 (patch)
treed6765b98ed47c169caf41c6efc41020eb285ec1e /ld/ld.texinfo
parentdf565f326e62eacf41fb880f1acc65b9fdb5052c (diff)
downloadgdb-eeb14e5a5b378450ca2ed139e76f317f491f4613.zip
gdb-eeb14e5a5b378450ca2ed139e76f317f491f4613.tar.gz
gdb-eeb14e5a5b378450ca2ed139e76f317f491f4613.tar.bz2
Change the default behaviour of the PE targeted linker so that timestamps are
inserted. This is for compatibility with other, non-GNU tools. Deterministic binaries can still be created by using the new --no-insert-timestamp command line option. * emultempl/pe.em: Initialise insert_timestamp to true. Add a --no-insert-timestamp command line option. * emultempl/pep.em: Likewise. * ld.texinfo: Document that --insert-timestamp is enabled by default and that it now has an inverse command line option. * NEWS: Mention the new behaviour.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo12
1 files changed, 9 insertions, 3 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index e3d0469..5762dc6 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2665,9 +2665,15 @@ 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.
+@itemx --no-insert-timestamp
+Insert a real timestamp into the image. This is the default behaviour
+as it matches legacy code and it means that the image will work with
+other, proprietary tools. The problem with this default is that it
+will result in slightly different images being produced each tiem the
+same sources are linked. The option @option{--no-insert-timestamp}
+can be used to insert a zero value for the timestamp, this ensuring
+that binaries produced from indentical sources will compare
+identically.
@end table
@c man end