aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2024-09-23 14:22:57 +0100
committerNick Clifton <nickc@redhat.com>2024-09-23 14:22:57 +0100
commite02f4847761b2d80309b7ca1f7b90b4fb8caf96a (patch)
treedcaf385b2b04188a83509b27dc64a05330f7f7d8 /ld
parent9923d668942ff29ce25fc4db460d0e0c4bbae1aa (diff)
downloadfsf-binutils-gdb-e02f4847761b2d80309b7ca1f7b90b4fb8caf96a.zip
fsf-binutils-gdb-e02f4847761b2d80309b7ca1f7b90b4fb8caf96a.tar.gz
fsf-binutils-gdb-e02f4847761b2d80309b7ca1f7b90b4fb8caf96a.tar.bz2
LD: Document use of SOURCE_DATE_EPOCH in Environment section
Diffstat (limited to 'ld')
-rw-r--r--ld/ld.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ld.texi b/ld/ld.texi
index 89e3913..24dcf9d 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -4048,6 +4048,13 @@ a similar fashion by the @code{gcc} linker wrapper program. The default
may be overridden by the @samp{--demangle} and @samp{--no-demangle}
options.
+@kindex SOURCE_DATE_EPOCH
+@cindex timestamps
+If the PE/COFF specific @option{--insert-timestamp} is active and the
+@env{SOURCE_DATE_EPOCH} environment variable is defined, then the
+timestamp value in this variable will be inserted into the COFF header
+instead of the current time.
+
@c man end
@end ifset