peXXigen.patch 543 B

123456789101112131415
  1. diff -crB binutils-2.24/bfd/peXXigen.c binutils-2.24/bfd/peXXigen.c
  2. *** binutils-2.24/bfd/peXXigen.c Tue Nov 26 11:37:33 2013
  3. --- binutils-2.24/bfd/peXXigen.c Mon Aug 4 07:10:15 2014
  4. ***************
  5. *** 795,800 ****
  6. --- 795,802 ----
  7. /* Only use a real timestamp if the option was chosen. */
  8. if ((pe_data (abfd)->insert_timestamp))
  9. H_PUT_32 (abfd, time(0), filehdr_out->f_timdat);
  10. + else
  11. + H_PUT_32 (abfd, 0, filehdr_out->f_timdat);
  12. PUT_FILEHDR_SYMPTR (abfd, filehdr_in->f_symptr,
  13. filehdr_out->f_symptr);