Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils.old/dist/bfd FIx reproducible builds ...



details:   https://anonhg.NetBSD.org/src/rev/7fc8bd27af07
branches:  trunk
changeset: 991338:7fc8bd27af07
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jul 09 12:15:31 2018 +0000

description:
FIx reproducible builds for EFI boot blocks (from HEAD)

diffstat:

 external/gpl3/binutils.old/dist/bfd/peXXigen.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r ee1987247049 -r 7fc8bd27af07 external/gpl3/binutils.old/dist/bfd/peXXigen.c
--- a/external/gpl3/binutils.old/dist/bfd/peXXigen.c    Mon Jul 09 11:55:45 2018 +0000
+++ b/external/gpl3/binutils.old/dist/bfd/peXXigen.c    Mon Jul 09 12:15:31 2018 +0000
@@ -879,6 +879,8 @@
   /* 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);



Home | Main Index | Thread Index | Old Index