1999-09-11 Donn Terry <donn@interix.com>
authorIan Lance Taylor <ian@airs.com>
Sat, 11 Sep 1999 22:46:37 +0000 (22:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 11 Sep 1999 22:46:37 +0000 (22:46 +0000)
* coffcode.h (coff_mkobject_hook): Set timestamp field in
coff_data_type to f_timdat.
* peicode.h (pe_mkobject_hook): Likewise.

bfd/ChangeLog
bfd/coffcode.h
bfd/peicode.h

index e5f738333e745dc7b6176f11a78c5bb538a26733..d6992ad92f3540d09a1fcd8ca973a7bc6a4f0257 100644 (file)
@@ -7,6 +7,10 @@
 
 1999-09-11  Donn Terry  <donn@interix.com>
 
+       * coffcode.h (coff_mkobject_hook): Set timestamp field in
+       coff_data_type to f_timdat.
+       * peicode.h (pe_mkobject_hook): Likewise.
+
        * peicode.h (coff_swap_filehdr_in): Check the NT executable magic
        number if COFF_IMAGE_WITH_PE.
 
index 9a6d0145b0710311d55aee5b380f4cb03a3f9605..dfedf23fabd1f2da461913588e6a2a173fe3d6b1 100644 (file)
@@ -1594,6 +1594,8 @@ coff_mkobject_hook (abfd, filehdr, aouthdr)
   coff->local_auxesz = AUXESZ;
   coff->local_linesz = LINESZ;
 
+  coff->timestamp = internal_f->f_timdat;
+
   obj_raw_syment_count (abfd) =
     obj_conv_table_size (abfd) =
       internal_f->f_nsyms;
index 2a195659388c566e3ec3ea3575d461606e36c4f4..7193add687f6e69cb4c8ac67a521d71f0bfc0c67 100644 (file)
@@ -2112,6 +2112,8 @@ pe_mkobject_hook (abfd, filehdr, aouthdr)
   pe->coff.local_auxesz = AUXESZ;
   pe->coff.local_linesz = LINESZ;
 
+  pe->coff.timestamp = internal_f->f_timdat;
+
   obj_raw_syment_count (abfd) =
     obj_conv_table_size (abfd) =
       internal_f->f_nsyms;