]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
LD: Document use of SOURCE_DATE_EPOCH in Environment section
authorNick Clifton <nickc@redhat.com>
Mon, 23 Sep 2024 13:22:57 +0000 (14:22 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 23 Sep 2024 13:22:57 +0000 (14:22 +0100)
ld/ld.texi

index 89e3913317a9d086e9602b3677837d8dfd7598a1..24dcf9db9193a8bde28ba156fb2c136a562eb500 100644 (file)
@@ -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