Module Name: src
Committed By: christos
Date: Mon Jul 9 12:15:31 UTC 2018
Modified Files:
src/external/gpl3/binutils.old/dist/bfd: peXXigen.c
Log Message:
FIx reproducible builds for EFI boot blocks (from HEAD)
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/binutils.old/dist/bfd/peXXigen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils.old/dist/bfd/peXXigen.c
diff -u src/external/gpl3/binutils.old/dist/bfd/peXXigen.c:1.5 src/external/gpl3/binutils.old/dist/bfd/peXXigen.c:1.6
--- src/external/gpl3/binutils.old/dist/bfd/peXXigen.c:1.5 Sat Apr 14 11:49:39 2018
+++ src/external/gpl3/binutils.old/dist/bfd/peXXigen.c Mon Jul 9 08:15:31 2018
@@ -879,6 +879,8 @@ _bfd_XXi_only_swap_filehdr_out (bfd * ab
/* Only use a real timestamp if the option was chosen. */
if ((pe_data (abfd)->insert_timestamp))
H_PUT_32 (abfd, time (0), filehdr_out->f_timdat);
+ else
+ H_PUT_32 (abfd, 0, filehdr_out->f_timdat);
PUT_FILEHDR_SYMPTR (abfd, filehdr_in->f_symptr,
filehdr_out->f_symptr);