readelf: increase size of static buffers
[deliverable/binutils-gdb.git] / binutils / objcopy.c
index e6711a99fb2f0324c8f7edea21580daa061cfdaa..738ef4c2c9135742d6c0518a3bac631574e8fa58 100644 (file)
@@ -2774,6 +2774,11 @@ copy_object (bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch)
 
                     file_alignment, section_alignment);
        }
+
+      if (preserve_dates
+         && bfd_get_flavour (ibfd) == bfd_target_coff_flavour
+         && bfd_pei_p (ibfd))
+       pe->timestamp = pe_data (ibfd)->coff.timestamp;
     }
 
   if (isympp)
This page took 0.037107 seconds and 4 git commands to generate.